trait OpenIDConnectService extends AnyRef

Service class for the OpenID Connect authentication.

Self Type
OpenIDConnectService with AccountFederationService
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OpenIDConnectService
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. 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

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. 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

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. 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

  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. 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

  21. 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

  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped