par

open suspend override fun par(input: String, clientAttestation: String?, clientAttestationPop: String?): 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


open suspend override fun par(request: AuthenticationRequestParameters, clientAttestation: String?, clientAttestationPop: String?): 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