http4k
Toggle table of contents
6.55.0.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
http4k
http4k-connect-amazon-cognito-fake
/
org.http4k.connect.amazon.cognito.oauth
/
CognitoAccessTokens
Cognito
Access
Tokens
class
CognitoAccessTokens
(
clock
:
Clock
,
expiry
:
Duration
,
region
:
Region
)
:
AccessTokens
(
source
)
Members
Constructors
Cognito
Access
Tokens
Link copied to clipboard
constructor
(
clock
:
Clock
,
expiry
:
Duration
,
region
:
Region
)
Functions
create
Link copied to clipboard
open
override
fun
create
(
clientId
:
ClientId
,
tokenRequest
:
TokenRequest
)
:
Success
<
AccessToken
>
open
override
fun
create
(
clientId
:
ClientId
,
tokenRequest
:
AuthorizationCodeAccessTokenRequest
)
:
Success
<
AccessToken
>