CreateToken

@JsonSerializable
data class CreateToken(val clientId: ClientId, val clientSecret: ClientSecret, val grantType: GrantType, val deviceCode: DeviceCode?, val redirectUri: Uri?, val codeVerifier: PKCECodeVerifier?, val code: AuthCode?) : OIDCAction<DeviceToken>

Constructors

Link copied to clipboard
constructor(clientId: ClientId, clientSecret: ClientSecret, grantType: GrantType, deviceCode: DeviceCode?, redirectUri: Uri?, codeVerifier: PKCECodeVerifier?, code: AuthCode?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toRequest(): Request
Link copied to clipboard
open override fun toResult(response: Response): Result<DeviceToken, RemoteFailure>