OAuthFlow

zio.http.api.openapi.OpenAPI$.OAuthFlow$
See theOAuthFlow companion trait
object OAuthFlow

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

final case class AuthorizationCode(authorizationUrl: URI, refreshUrl: Option[URI], scopes: Map[String, String], tokenUrl: URI) extends OAuthFlow

Configuration for the OAuth Authorization Code flow. Previously called accessCode in OpenAPI 2.0.

Configuration for the OAuth Authorization Code flow. Previously called accessCode in OpenAPI 2.0.

Attributes

authorizationUrl

The authorization URL to be used for this flow.

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.

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait OAuthFlow
class Object
trait Matchable
class Any
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.

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

Attributes

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.

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait OAuthFlow
class Object
trait Matchable
class Any
final case class Implicit(authorizationUrl: URI, refreshUrl: Option[URI], scopes: Map[String, String]) extends OAuthFlow

Configuration for the OAuth Implicit flow.

Configuration for the OAuth Implicit flow.

Attributes

authorizationUrl

The authorization URL to be used for this flow.

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.

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait OAuthFlow
class Object
trait Matchable
class Any
final case class Password(refreshUrl: Option[URI], scopes: Map[String, String], tokenUrl: URI) extends OAuthFlow

Configuration for the OAuth Resource Owner Password flow.

Configuration for the OAuth Resource Owner Password flow.

Attributes

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.

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

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror