par

abstract suspend fun par(input: String, httpRequest: RequestInfo? = 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 body

httpRequest

information about the HTTP request from the client to validate authentication


abstract suspend fun par(request: RequestParameters, httpRequest: RequestInfo? = 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

httpRequest

information about the HTTP request from the client to validate authentication