trait OpenIDConnectService extends AnyRef
Service class for the OpenID Connect authentication.
- Self Type
- OpenIDConnectService with AccountFederationService
- Alphabetic
- By Inheritance
- OpenIDConnectService
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
authenticate(params: Map[String, String], redirectURI: URI, state: State, nonce: Nonce, oidc: OIDC)(implicit s: (blockingApi)#Session): Option[Account]
Proceed the OpenID Connect authentication.
Proceed the OpenID Connect authentication.
- params
Query parameters of the authentication response
- redirectURI
Redirect URI
- state
State saved in the session
- nonce
Nonce saved in the session
- oidc
OIDC settings
- returns
ID token
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
createOIDCAuthenticationRequest(issuer: Issuer, clientID: ClientID, redirectURI: URI): AuthenticationRequest
Obtain the OIDC metadata from discovery and create an authentication request.
Obtain the OIDC metadata from discovery and create an authentication request.
- issuer
Issuer, used to construct the discovery endpoint URL, e.g. https://accounts.google.com
- clientID
Client ID (given by the issuer)
- redirectURI
Redirect URI
- returns
Authentication request
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
obtainOIDCToken(authorizationCode: AuthorizationCode, nonce: Nonce, redirectURI: URI, oidc: OIDC): Option[IDTokenClaimsSet]
Obtain the ID token from the OpenID Provider.
Obtain the ID token from the OpenID Provider.
- authorizationCode
Authorization code in the query string
- nonce
Nonce
- redirectURI
Redirect URI
- oidc
OIDC settings
- returns
Token response
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
validateOIDCAuthenticationResponse(params: Map[String, String], state: State, redirectURI: URI): Option[AuthenticationSuccessResponse]
Validate the authentication response.
Validate the authentication response.
- params
Query parameters of the authentication response
- state
State saved in the session
- redirectURI
Redirect URI
- returns
Authentication response
-
def
validateOIDCTokenResponse(response: OIDCTokenResponse, metadata: OIDCProviderMetadata, nonce: Nonce, oidc: OIDC): Option[IDTokenClaimsSet]
Validate the token response.
Validate the token response.
- response
Token response
- metadata
OpenID Provider metadata
- nonce
Nonce
- returns
Claims
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )