AuthorizationCode
scalaoauth2.provider.AuthorizationCode
class AuthorizationCode extends GrantHandler
Attributes
- Source
- GrantHandler.scala
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
override def handleRequest[U](maybeValidatedClientCred: Option[ClientCredential], request: AuthorizationRequest, handler: AuthorizationHandler[U])(implicit ctx: ExecutionContext): Future[GrantHandlerResult[U]]
Attributes
- Definition Classes
- Source
- GrantHandler.scala
Inherited methods
Controls whether client credentials are required. Defaults to true but can be overridden to be false when needed. Per the OAuth2 specification, client credentials are required for all grant types except password, where it is up to the authorization provider whether to make them required or not.
Controls whether client credentials are required. Defaults to true but can be overridden to be false when needed. Per the OAuth2 specification, client credentials are required for all grant types except password, where it is up to the authorization provider whether to make them required or not.
Attributes
- Inherited from:
- GrantHandler
- Source
- GrantHandler.scala
protected def createGrantHandlerResult[U](authInfo: AuthInfo[U], accessToken: AccessToken): GrantHandlerResult[U]
Attributes
- Inherited from:
- GrantHandler
- Source
- GrantHandler.scala
protected def issueAccessToken[U](handler: AuthorizationHandler[U], authInfo: AuthInfo[U])(implicit ctx: ExecutionContext): Future[GrantHandlerResult[U]]
Returns valid access token.
Attributes
- Inherited from:
- GrantHandler
- Source
- GrantHandler.scala
In this article