package oauth2

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. class BaseOAuth2Service[UserInfoData, AuthorizationData <: OAuth2AuthorizationData] extends OAuth2Service[UserInfoData, AuthorizationData] with LazyLogging
  2. class CachingOAuth2Service[UserInfoData, AuthorizationData <: OAuth2AuthorizationData] extends OAuth2Service[UserInfoData, AuthorizationData] with LazyLogging
  3. case class DefaultJwtAccessToken(issuer: Option[String], subject: Option[String], audience: Option[Either[List[String], String]], expirationTime: Option[Instant], notBefore: Option[Instant], issuedAt: Option[Instant], jwtId: Option[String]) extends JwtStandardClaims with Product with Serializable
  4. case class DefaultOAuth2AuthorizationData(accessToken: String, tokenType: String, refreshToken: Option[String] = scala.None, expirationPeriod: Option[FiniteDuration] = scala.None) extends OAuth2AuthorizationData with Product with Serializable
  5. class DefaultOAuth2ServiceFactory extends OAuth2ServiceFactory with LazyLogging
  6. case class DefaultOidcAuthorizationData(accessToken: String, tokenType: String, refreshToken: Option[String] = scala.None, expirationPeriod: Option[FiniteDuration] = scala.None, idToken: Option[String] = scala.None) extends OidcAuthorizationData with Product with Serializable
  7. trait EitherCodecs extends AnyRef
    Attributes
    protected
  8. trait EpochSecondsCodecs extends AnyRef
    Attributes
    protected
  9. class GenericOidcService[UserData <: JwtStandardClaims, AuthorizationData <: OidcAuthorizationData, AccessTokenClaims <: JwtStandardClaims] extends JwtOAuth2Service[UserData, AuthorizationData, AccessTokenClaims] with LazyLogging

    Apart from backward compatibility of the configuration, this class is not intended for direct instantiation.

    Apart from backward compatibility of the configuration, this class is not intended for direct instantiation. There is a concrete subclass pl.touk.nussknacker.ui.security.oidc.OidcService in the Oidc authentication provider for OIDC compliant authorization servers.

  10. case class GitHubProfileResponse(id: Long, email: Option[String], login: String) extends Product with Serializable
  11. trait JwtConfiguration extends AnyRef
  12. class JwtOAuth2Service[UserInfoData, AuthorizationData <: OAuth2AuthorizationData, AccessTokenClaims <: JwtStandardClaims] extends BaseOAuth2Service[UserInfoData, AuthorizationData] with LazyLogging
  13. trait JwtStandardClaims extends AnyRef
  14. class OAuth2AuthenticationProvider extends AuthenticationProvider with LazyLogging
  15. class OAuth2AuthenticationResources extends AuthenticationResources with Directives with LazyLogging with AnonymousAccess
  16. class OAuth2Authenticator extends akka.http.scaladsl.server.directives.SecurityDirectives.AsyncAuthenticator[AuthenticatedUser] with LazyLogging
  17. trait OAuth2AuthorizationData extends AnyRef
  18. class OAuth2ClientApi[ProfileResponse, AccessTokenResponse] extends LazyLogging
  19. case class OAuth2Configuration(usersFile: URI, authorizeUri: URI, clientSecret: String, clientId: String, profileUri: URI, profileFormat: Option[ProfileFormat], accessTokenUri: URI, redirectUri: Option[URI], implicitGrantEnabled: Boolean = false, jwt: Option[JwtConfiguration], accessTokenParams: Map[String, String] = Map.empty, authorizeParams: Map[String, String] = Map.empty, headers: Map[String, String] = Map.empty, authorizationHeader: String = HeaderNames.Authorization, accessTokenRequestContentType: String = ..., defaultTokenExpirationDuration: FiniteDuration = FiniteDuration(1, HOURS), anonymousUserRole: Option[String] = None, tokenCookie: Option[TokenCookieConfig] = None) extends AuthenticationConfiguration with Product with Serializable
  20. trait OAuth2Profile[ProfileResponse] extends AnyRef
  21. trait OAuth2Service[+UserInfoData, +AuthorizationData <: OAuth2AuthorizationData] extends AnyRef
  22. trait OAuth2ServiceFactory extends AnyRef
  23. case class Oauth2AuthenticationResponse(accessToken: String, tokenType: String) extends Product with Serializable
  24. trait OidcAuthorizationData extends OAuth2AuthorizationData
  25. case class OpenIdConnectUserInfo(subject: Some[String], name: Option[String], givenName: Option[String], familyName: Option[String], middleName: Option[String], nickname: Option[String], preferredUsername: Option[String], profile: Option[String], picture: Option[String], website: Option[String], email: Option[String], emailVerified: Option[Boolean], gender: Option[String], birthdate: Option[LocalDate], zoneinfo: Option[String], locale: Option[String], phoneNumber: Option[String], phoneNumberVerified: Option[Boolean], address: Option[Map[String, String]], updatedAt: Option[Instant], issuer: Option[String], audience: Option[Either[List[String], String]], expirationTime: Option[Instant], issuedAt: Option[Instant], authenticationTime: Option[Instant], roles: Set[String] = scala.Predef.Set.empty[String]) extends JwtStandardClaims with Product with Serializable
  26. trait RelativeSecondsCodecs extends AnyRef
    Attributes
    protected
  27. case class TokenCookieConfig(name: String, path: Option[String], domain: Option[String]) extends Product with Serializable
  28. class UserMappingOAuth2Service[UserInfoData, AuthorizationData <: OAuth2AuthorizationData] extends OAuth2Service[AuthenticatedUser, AuthorizationData]

Ungrouped