AuthorizationCodes

Provides a consistent way to manage authorization codes

Functions

Link copied to clipboard
abstract fun create(request: Request, authRequest: AuthRequest, response: Response): Result<AuthorizationCode, UserRejectedRequest>

Create new authorization code to be given to client after the user successfully authorize access The generated authorization code needs to be associated with the clientId and redirectUri for later verification. It should also be associated with a given expire date (recommended to be shorter than 10 minutes)

Link copied to clipboard

Retrieve the details of an authorization code