package oauth2
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
- class BaseOAuth2Service[UserInfoData, AuthorizationData <: OAuth2AuthorizationData] extends OAuth2Service[UserInfoData, AuthorizationData] with LazyLogging
- class CachingOAuth2Service[UserInfoData, AuthorizationData <: OAuth2AuthorizationData] extends OAuth2Service[UserInfoData, AuthorizationData] with LazyLogging
- 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
- case class DefaultOAuth2AuthorizationData(accessToken: String, tokenType: String, refreshToken: Option[String] = scala.None, expirationPeriod: Option[FiniteDuration] = scala.None) extends OAuth2AuthorizationData with Product with Serializable
- class DefaultOAuth2ServiceFactory extends OAuth2ServiceFactory with LazyLogging
- 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
-
trait
EitherCodecs extends AnyRef
- Attributes
- protected
-
trait
EpochSecondsCodecs extends AnyRef
- Attributes
- protected
-
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.
- case class GitHubProfileResponse(id: Long, email: Option[String], login: String) extends Product with Serializable
- trait JwtConfiguration extends AnyRef
- class JwtOAuth2Service[UserInfoData, AuthorizationData <: OAuth2AuthorizationData, AccessTokenClaims <: JwtStandardClaims] extends BaseOAuth2Service[UserInfoData, AuthorizationData] with LazyLogging
- trait JwtStandardClaims extends AnyRef
- class OAuth2AuthenticationProvider extends AuthenticationProvider with LazyLogging
- class OAuth2AuthenticationResources extends AuthenticationResources with Directives with LazyLogging with AnonymousAccess
- class OAuth2Authenticator extends akka.http.scaladsl.server.directives.SecurityDirectives.AsyncAuthenticator[AuthenticatedUser] with LazyLogging
- trait OAuth2AuthorizationData extends AnyRef
- class OAuth2ClientApi[ProfileResponse, AccessTokenResponse] extends LazyLogging
- 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
- trait OAuth2Profile[ProfileResponse] extends AnyRef
- trait OAuth2Service[+UserInfoData, +AuthorizationData <: OAuth2AuthorizationData] extends AnyRef
- trait OAuth2ServiceFactory extends AnyRef
- case class Oauth2AuthenticationResponse(accessToken: String, tokenType: String) extends Product with Serializable
- trait OidcAuthorizationData extends OAuth2AuthorizationData
- 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
-
trait
RelativeSecondsCodecs extends AnyRef
- Attributes
- protected
- case class TokenCookieConfig(name: String, path: Option[String], domain: Option[String]) extends Product with Serializable
- class UserMappingOAuth2Service[UserInfoData, AuthorizationData <: OAuth2AuthorizationData] extends OAuth2Service[AuthenticatedUser, AuthorizationData]
Value Members
- object BaseOAuth2Service
- object DefaultJwtAccessToken extends EitherCodecs with EpochSecondsCodecs with Serializable
- object DefaultOAuth2AuthorizationData extends RelativeSecondsCodecs with Serializable
- object DefaultOAuth2ServiceFactory
- object DefaultOidcAuthorizationData extends RelativeSecondsCodecs with Serializable
- object GenericOidcService
- object GitHubProfile extends OAuth2Profile[GitHubProfileResponse]
- object GitHubProfileResponse extends Serializable
- object JwtConfiguration
- object OAuth2AuthenticationProvider
- object OAuth2Authenticator extends LazyLogging
- object OAuth2ClientApi
- object OAuth2Configuration extends Serializable
- object OAuth2ErrorHandler
- object OAuth2Profile
- object OAuth2ServiceProvider extends LazyLogging
- object Oauth2AuthenticationResponse extends Serializable
- object OpenIdConnectProfile extends OAuth2Profile[OpenIdConnectUserInfo]
- object OpenIdConnectUserInfo extends EitherCodecs with EpochSecondsCodecs with Serializable
- object ProfileFormat extends Enumeration