par

abstract suspend fun par(input: String, clientAttestation: String? = null, clientAttestationPop: String? = null): KmmResult<PushedAuthenticationResponseParameters>(source)

Pushed authorization request endpoint as defined in RFC 9126. Clients send their authorization request as HTTP POST with application/x-www-form-urlencoded to the AS.

Responses have to be sent with HTTP status code 201.

Return

KmmResult may contain a OAuth2Exception

Parameters

input

as sent from the client as POST

clientAttestation

value of the header OAuth-Client-Attestation

clientAttestationPop

value of the header OAuth-Client-Attestation-PoP


abstract suspend fun par(request: AuthenticationRequestParameters, clientAttestation: String? = null, clientAttestationPop: String? = null): KmmResult<PushedAuthenticationResponseParameters>(source)

Pushed authorization request endpoint as defined in RFC 9126. Clients send their authorization request as HTTP POST with application/x-www-form-urlencoded to the AS.

Responses have to be sent with HTTP status code 201.

Return

KmmResult may contain a OAuth2Exception

Parameters

request

as sent from the client as POST

clientAttestation

value of the header OAuth-Client-Attestation

clientAttestationPop

value of the header OAuth-Client-Attestation-PoP