OAuth2SecurityScheme

@SerialName(value = "oauth2")
data class OAuth2SecurityScheme(val type: String = "oauth2", val flows: OAuth2Flows, val metadataUrl: String? = null) : SecurityScheme(source)

OAuth2 authentication scheme with metadata URL support (new in 0.3.0).

Constructors

Link copied to clipboard
constructor(type: String = "oauth2", flows: OAuth2Flows, metadataUrl: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "flows")
val flows: OAuth2Flows
Link copied to clipboard
@SerialName(value = "metadataUrl")
val metadataUrl: String?
Link copied to clipboard
@SerialName(value = "type")
open override val type: String