Class DockerResponseToken
java.lang.Object
org.keycloak.representations.JsonWebToken
org.keycloak.representations.docker.DockerResponseToken
- All Implemented Interfaces:
Serializable
,Token
* {
"iss": "auth.docker.com",
"sub": "jlhawn",
"aud": "registry.docker.com",
"exp": 1415387315,
"nbf": 1415387015,
"iat": 1415387015,
"jti": "tYJCO1c6cnyy7kAn0c7rKPgbV1H1bFws",
"access": [
{
"type": "repository",
"name": "samalba/my-app",
"actions": [
"push"
]
}
]
}
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionexpiration
(int expiration) issuedAt
(int issuedAt) Set issuedAt to the current timenotBefore
(int notBefore) Methods inherited from class org.keycloak.representations.JsonWebToken
addAudience, exp, getAudience, getCategory, getExp, getExpiration, getIat, getId, getIssuedAt, getIssuedFor, getIssuer, getNbf, getNotBefore, getOtherClaims, getSubject, getType, hasAnyAudience, hasAudience, iat, isActive, isActive, isExpired, isIssuedBeforeSessionStart, isNotBefore, nbf, setOtherClaims, setSubject
-
Field Details
-
accessItems
-
-
Constructor Details
-
DockerResponseToken
public DockerResponseToken()
-
-
Method Details
-
getAccessItems
-
id
- Overrides:
id
in classJsonWebToken
-
expiration
- Overrides:
expiration
in classJsonWebToken
-
notBefore
- Overrides:
notBefore
in classJsonWebToken
-
issuedNow
Description copied from class:JsonWebToken
Set issuedAt to the current time- Overrides:
issuedNow
in classJsonWebToken
-
issuedAt
- Overrides:
issuedAt
in classJsonWebToken
-
issuer
- Overrides:
issuer
in classJsonWebToken
-
audience
- Overrides:
audience
in classJsonWebToken
-
subject
- Overrides:
subject
in classJsonWebToken
-
type
- Overrides:
type
in classJsonWebToken
-
issuedFor
- Overrides:
issuedFor
in classJsonWebToken
-