package oauth2
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- trait AuthenticationStrategy[ProfileResponse] extends AnyRef
- class BaseOAuth2Service[UserInfoData, AuthorizationData <: OAuth2AuthorizationData] extends OAuth2Service[UserInfoData, AuthorizationData] with LazyLogging
- class CachingOAuth2Service[UserInfoData, AuthorizationData <: OAuth2AuthorizationData] extends OAuth2Service[UserInfoData, AuthorizationData] with LazyLogging
- final 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
- trait EitherCodecs extends AnyRef
- Attributes
- protected[security]
- trait EpochSecondsCodecs extends AnyRef
- Attributes
- protected[security]
- class GitHubProfileAuthentication extends AuthenticationStrategy[GitHubProfileResponse]
- final case class GitHubProfileResponse(id: Long, email: Option[String], login: String) extends Product with Serializable
- final case class IntrospectedAccessTokenData(subject: Option[String], expirationTime: Option[Instant], roles: Set[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 AnonymousAccessSupport
- class OAuth2Authenticator extends akka.http.scaladsl.server.directives.SecurityDirectives.AsyncAuthenticator[AuthenticatedUser] with LazyLogging
- trait OAuth2AuthorizationData extends AnyRef
- class OAuth2ClientApi[ProfileResponse, AccessTokenResponse] extends LazyLogging
- final 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 = MediaType.ApplicationJson.toString(), defaultTokenExpirationDuration: FiniteDuration = FiniteDuration(1, HOURS), anonymousUserRole: Option[String] = None, isAdminImpersonationPossible: Boolean = false, tokenCookie: Option[TokenCookieConfig] = None, overrideFrontendAuthenticationStrategy: Option[FrontendStrategySettings] = None, usernameClaim: Option[UsernameClaim] = None, realm: Option[String] = None) extends AuthenticationConfiguration with Product with Serializable
- abstract class OAuth2Service[+UserInfoData, +AuthorizationData <: OAuth2AuthorizationData] extends AnyRef
- trait OAuth2ServiceFactory extends AnyRef
- final case class Oauth2AuthenticationResponse(accessToken: String, tokenType: String) extends Product with Serializable
- trait RelativeSecondsCodecs extends AnyRef
- Attributes
- protected[security]
- final 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 DefaultOAuth2AuthorizationData extends RelativeSecondsCodecs with Serializable
- object DefaultOAuth2ServiceFactory
- object GitHubProfileResponse extends Serializable
- object IntrospectedAccessTokenData extends Serializable
- object JwtConfiguration
- object OAuth2AuthenticationProvider
- object OAuth2Authenticator extends LazyLogging
- object OAuth2ClientApi
- object OAuth2Configuration extends Serializable
- object OAuth2ErrorHandler
- object OAuth2ServiceProvider extends LazyLogging
- object Oauth2AuthenticationResponse extends Serializable
- object ProfileFormat extends Enumeration
- object UsernameClaim extends Enumeration