par

suspend fun par(    input: String,     clientAttestation: String? = null,     clientAttestationPop: String? = null): KmmResult<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.

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


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.

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