OAuthFlows

zio.blocks.openapi.OAuthFlows
See theOAuthFlows companion object
final case class OAuthFlows(`implicit`: Option[OAuthFlow] = ..., password: Option[OAuthFlow] = ..., clientCredentials: Option[OAuthFlow] = ..., authorizationCode: Option[OAuthFlow] = ..., extensions: ChunkMap[String, Json] = ...)

Allows configuration of the supported OAuth Flows.

Value parameters

`implicit`

Configuration for the OAuth Implicit flow.

authorizationCode

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

clientCredentials

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

extensions

Specification extensions (x-* fields). These allow adding additional properties beyond the standard OpenAPI fields.

password

Configuration for the OAuth Resource Owner Password flow.

Attributes

Companion
object
Source
OpenAPI.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala