public abstract class ClientCredentialsClaims extends Object
Modifier and Type | Method and Description |
---|---|
abstract String |
aud()
The oauth audience, who this token is intended for.
|
static ClientCredentialsClaims |
create(String iss,
String sub,
String aud,
long exp,
long nbf,
String jti) |
abstract long |
exp()
The expiration time, in seconds since the epoch after which the JWT must not be accepted for processing.
|
abstract String |
iss()
The issuer of this token.
|
abstract String |
jti()
"JWT ID", a unique identifier for the JWT.
|
abstract long |
nbf()
The time before which the JWT must not be accepted for processing, in seconds since the epoch.
|
abstract String |
sub()
The subject of the JWT.
|
public abstract String iss()
public abstract String sub()
public abstract String aud()
public abstract long exp()
public abstract long nbf()
public abstract String jti()
public static ClientCredentialsClaims create(String iss, String sub, String aud, long exp, long nbf, String jti)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.