Companion
object Companion
Functions
Link copied to clipboard
fun authorizationCode(authorizationUrl: String, tokenUrl: String, scopes: Map<String, String>): AuthScheme.OAuth2
Returns a scheme with only the authorization code flow, for calls the client makes on a user's behalf after the user consents.
Link copied to clipboard
Link copied to clipboard
Returns a scheme with only the client credentials flow, for calls the client makes on its own behalf, with no user.