public class DockerResponseToken extends JsonWebToken
Modifier and Type | Field and Description |
---|---|
protected List<DockerAccess> |
accessItems |
audience, expiration, id, issuedAt, issuedFor, issuer, notBefore, otherClaims, subject, type
Constructor and Description |
---|
DockerResponseToken() |
Modifier and Type | Method and Description |
---|---|
DockerResponseToken |
audience(String... audience) |
DockerResponseToken |
expiration(int expiration) |
List<DockerAccess> |
getAccessItems() |
DockerResponseToken |
id(String id) |
DockerResponseToken |
issuedAt(int issuedAt) |
DockerResponseToken |
issuedFor(String issuedFor) |
DockerResponseToken |
issuedNow()
Set issuedAt to the current time
|
DockerResponseToken |
issuer(String issuer) |
DockerResponseToken |
notBefore(int notBefore) |
DockerResponseToken |
subject(String subject) |
DockerResponseToken |
type(String type) |
addAudience, getAudience, getCategory, getExpiration, getId, getIssuedAt, getIssuedFor, getIssuer, getNotBefore, getOtherClaims, getSubject, getType, hasAudience, isActive, isActive, isExpired, isNotBefore, setOtherClaims, setSubject
protected List<DockerAccess> accessItems
public List<DockerAccess> getAccessItems()
public DockerResponseToken id(String id)
id
in class JsonWebToken
public DockerResponseToken expiration(int expiration)
expiration
in class JsonWebToken
public DockerResponseToken notBefore(int notBefore)
notBefore
in class JsonWebToken
public DockerResponseToken issuedNow()
JsonWebToken
issuedNow
in class JsonWebToken
public DockerResponseToken issuedAt(int issuedAt)
issuedAt
in class JsonWebToken
public DockerResponseToken issuer(String issuer)
issuer
in class JsonWebToken
public DockerResponseToken audience(String... audience)
audience
in class JsonWebToken
public DockerResponseToken subject(String subject)
subject
in class JsonWebToken
public DockerResponseToken type(String type)
type
in class JsonWebToken
public DockerResponseToken issuedFor(String issuedFor)
issuedFor
in class JsonWebToken
Copyright © 2019 JBoss by Red Hat. All rights reserved.