public abstract class Claims extends Object
Modifier and Type | Method and Description |
---|---|
abstract String |
aud()
The oauth audience, who this token is intended for.
|
static Claims |
create(String iss,
String scope,
String aud,
long exp,
long iat) |
abstract long |
exp()
The expiration time, in seconds since
iat() . |
abstract long |
iat()
The time at which the JWT was issued, in seconds since the epoch.
|
abstract String |
iss()
The issuer of this token.
|
abstract String |
scope()
A comma-separated list of scopes needed to perform the request.
|
public abstract String iss()
public abstract String scope()
public abstract String aud()
https://accounts.google.com/o/oauth2/token
public abstract long exp()
iat()
.public abstract long iat()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.