authentication
Toggle table of contents
0.1.2
common
Platform filter
common
Switch theme
Search in API
authentication
authentication
/
de.gematik.zeta.sdk.authentication.model
Package-level
declarations
Types
Functions
Types
Access
Token
Claims
Link copied to clipboard
@
Serializable
data
class
AccessTokenClaims
(
val
issuer
:
String
,
val
exp
:
Long
,
val
audience
:
List
<
String
>
,
val
subject
:
String
,
val
iat
:
Long
,
val
jti
:
String
,
val
scope
:
String
?
=
null
,
val
cnf
:
AccessTokenClaims.Cnf
)
Access
Token
Header
Link copied to clipboard
@
Serializable
data
class
AccessTokenHeader
(
val
typ
:
TokenType
,
val
kid
:
String
,
val
jwk
:
String
,
val
alg
:
String
=
"ES256"
)
Access
Token
Request
Link copied to clipboard
@
Serializable
data
class
AccessTokenRequest
(
val
grantType
:
String
,
val
clientId
:
String
,
val
subjectToken
:
String
,
val
subjectTokenType
:
String
,
val
scope
:
String
,
val
requestedTokenType
:
String
,
val
clientAssertionType
:
String
,
val
clientAssertion
:
String
)
Access
Token
Response
Link copied to clipboard
@
Serializable
data
class
AccessTokenResponse
(
val
accessToken
:
String
,
val
expiresIn
:
Int
,
val
refreshExpires
:
Int
,
val
tokenType
:
String
,
val
notBeforePolicy
:
String
,
val
sessionState
:
String
,
val
scope
:
String
,
val
issuedTokenType
:
String
)
Token
Type
Link copied to clipboard
@
Serializable
enum
TokenType
:
Enum
<
TokenType
>
Functions
to
Parameters
Link copied to clipboard
fun
AccessTokenRequest
.
toParameters
(
)
:
Parameters