Implicit

scalaoauth2.provider.Implicit
class Implicit extends GrantHandler

Attributes

Source
GrantHandler.scala
Graph
Supertypes
trait GrantHandler
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override protected def createGrantHandlerResult[U](authInfo: AuthInfo[U], accessToken: AccessToken): GrantHandlerResult[U]

Implicit grant must not return refresh token

Implicit grant must not return refresh token

Attributes

Definition Classes
Source
GrantHandler.scala
override def handleRequest[U](maybeValidatedClientCred: Option[ClientCredential], request: AuthorizationRequest, handler: AuthorizationHandler[U])(implicit ctx: ExecutionContext): Future[GrantHandlerResult[U]]

Attributes

Definition Classes
Source
GrantHandler.scala
override protected def shouldRefreshAccessToken(accessToken: AccessToken): Boolean

Implicit grant doesn't support refresh token

Implicit grant doesn't support refresh token

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 issueAccessToken[U](handler: AuthorizationHandler[U], authInfo: AuthInfo[U])(implicit ctx: ExecutionContext): Future[GrantHandlerResult[U]]

Returns valid access token.

Returns valid access token.

Attributes

Inherited from:
GrantHandler
Source
GrantHandler.scala