ClientCredentials

zio.http.endpoint.openapi.OpenAPI.SecurityScheme.OAuthFlow.ClientCredentials
final case class ClientCredentials(refreshUrl: Option[URI], scopes: Map[String, String], tokenUrl: URI) extends OAuthFlow

Configuration for the OAuth Client Credentials flow. Previously called application in OpenAPI 2.0.

Value parameters

refreshUrl

The URL to be used for obtaining refresh tokens.

scopes

The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty.

tokenUrl

The token URL to be used for this flow.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait OAuthFlow
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product