token
open suspend override fun token(request: TokenRequestParameters, httpRequest: RequestInfo?): KmmResult<TokenResponseParameters>(source)
Verifies the authorization code sent by the client and issues an access token. Send this value JSON-serialized back to the client.
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