pl
.
touk
.
nussknacker
.
ui
.
security
oauth2
package
oauth2
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
]
,
audition:
Option
[
List
[
String
]]
,
expirationTime:
Option
[
Deadline
]
,
notBefore:
Option
[
Deadline
]
,
issuedAt:
Option
[
Deadline
]
,
jwtId:
Option
[
String
]
)
extends
JwtStandardClaims
with
Product
with
Serializable
case class
DefaultOAuth2AuthorizationData
(
accessToken:
String
,
tokenType:
String
,
refreshToken:
Option
[
String
]
,
expirationPeriod:
Option
[
FiniteDuration
] =
scala.None
)
extends
OAuth2AuthorizationData
with
Product
with
Serializable
class
DefaultOAuth2ServiceFactory
extends
OAuth2ServiceFactory
case class
DefaultOpenIdConnectAuthorizationData
(
accessToken:
String
,
tokenType:
String
,
refreshToken:
Option
[
String
]
,
expirationPeriod:
Option
[
FiniteDuration
] =
scala.None
,
idToken:
Option
[
String
] =
scala.None
)
extends
OpenIdConnectAuthorizationData
with
Product
with
Serializable
trait
EpochSecondsCodecs
extends
AnyRef
Attributes
protected
case class
GitHubProfileResponse
(
id:
Long
,
email:
Option
[
String
]
,
login:
Option
[
String
]
)
extends
Product
with
Serializable
trait
JwtConfiguration
extends
AnyRef
class
JwtOAuth2Service
[
UserInfoData
,
AuthorizationData <:
OAuth2AuthorizationData
,
JwtClaims <:
JwtStandardClaims
]
extends
BaseOAuth2Service
[
UserInfoData
,
AuthorizationData
] with
LazyLogging
trait
JwtStandardClaims
extends
AnyRef
class
JwtValidator
extends
AnyRef
case class
OAuth2AuthenticateData
(
access_token:
String
,
token_type:
String
,
refresh_token:
Option
[
String
]
)
extends
OAuth2AuthorizationData
with
Product
with
Serializable
class
OAuth2AuthenticationProvider
extends
AuthenticationProvider
with
LazyLogging
class
OAuth2AuthenticationResources
extends
AuthenticationResources
with
Directives
with
LazyLogging
with
FailFastCirceSupport
case class
OAuth2AuthenticationSettings
(
authorizeUrl:
Option
[
String
]
,
jwtAuthServerPublicKey:
Option
[
String
]
,
jwtIdTokenNonceVerificationRequired:
Boolean
,
implicitGrantEnabled:
Boolean
)
extends
Product
with
Serializable
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:
URI
,
implicitGrantEnabled:
Boolean
,
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
=
...
,
defaultTokenExpirationTime:
FiniteDuration
=
FiniteDuration(1, HOURS)
)
extends
AuthenticationConfiguration
with
Product
with
Serializable
trait
OAuth2OldService
extends
OAuth2Service
[
LoggedUser
,
OAuth2AuthenticateData
]
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
OpenIdConnectAuthorizationData
extends
OAuth2AuthorizationData
class
OpenIdConnectService
[
UserData
,
AuthorizationData <:
OpenIdConnectAuthorizationData
,
JwtClaims <:
JwtStandardClaims
]
extends
JwtOAuth2Service
[
UserData
,
AuthorizationData
,
JwtClaims
] with
LazyLogging
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
[
Deadline
]
,
issuer:
Option
[
String
]
,
audition:
Option
[
List
[
String
]]
,
expirationTime:
Option
[
Deadline
]
,
issuedAt:
Option
[
Deadline
]
,
authenticationTime:
Option
[
Deadline
]
)
extends
JwtStandardClaims
with
Product
with
Serializable
class
UserMappingOAuth2Service
[
UserInfoData
,
AuthorizationData <:
OAuth2AuthorizationData
]
extends
OAuth2Service
[
AuthenticatedUser
,
AuthorizationData
]
Value Members
object
BaseOAuth2Service
object
DefaultJwtAccessToken
extends
EpochSecondsCodecs
with
Serializable
object
DefaultOAuth2AuthorizationData
extends
EpochSecondsCodecs
with
Serializable
object
DefaultOAuth2ServiceFactory
object
DefaultOpenIdConnectAuthorizationData
extends
EpochSecondsCodecs
with
Serializable
object
GitHubProfile
extends
OAuth2Profile
[
GitHubProfileResponse
]
object
GitHubProfileResponse
extends
Serializable
object
JwtConfiguration
object
OAuth2AuthenticationProvider
object
OAuth2AuthenticationSettings
extends
Serializable
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
OpenIdConnectService
object
OpenIdConnectUserInfo
extends
EpochSecondsCodecs
with
JavaTimeDecoders
with
JavaTimeEncoders
with
Serializable
object
ProfileFormat
extends
Enumeration
Ungrouped