- java.lang.Object
-
- swim.security.JsonWebToken
-
- swim.security.OpenIdToken
-
- All Implemented Interfaces:
Debug
- Direct Known Subclasses:
GoogleIdToken
public class OpenIdToken extends JsonWebToken
-
-
Field Summary
-
Fields inherited from class swim.security.JsonWebToken
value
-
-
Constructor Summary
Constructors Constructor Description OpenIdToken()
OpenIdToken(Value value)
-
Method Summary
-
-
-
Constructor Detail
-
OpenIdToken
public OpenIdToken(Value value)
-
OpenIdToken
public OpenIdToken()
-
-
Method Detail
-
issuer
public OpenIdToken issuer(String issuer)
- Overrides:
issuer
in classJsonWebToken
-
subject
public OpenIdToken subject(String subject)
- Overrides:
subject
in classJsonWebToken
-
audience
public OpenIdToken audience(String audience)
- Overrides:
audience
in classJsonWebToken
-
audiences
public OpenIdToken audiences(String... audiences)
- Overrides:
audiences
in classJsonWebToken
-
expiration
public OpenIdToken expiration(long expiration)
- Overrides:
expiration
in classJsonWebToken
-
notBefore
public OpenIdToken notBefore(long notBefore)
- Overrides:
notBefore
in classJsonWebToken
-
issuedAt
public OpenIdToken issuedAt(long issuedAt)
- Overrides:
issuedAt
in classJsonWebToken
-
jwtId
public OpenIdToken jwtId(String jwtId)
- Overrides:
jwtId
in classJsonWebToken
-
authTime
public long authTime()
-
authTime
public OpenIdToken authTime(long authTime)
-
nonce
public String nonce()
-
nonce
public OpenIdToken nonce(String nonce)
-
accessTokenHash
public Data accessTokenHash()
-
accessTokenHash
public OpenIdToken accessTokenHash(Data accessTokenHash)
-
authenticationContextClass
public String authenticationContextClass()
-
authenticationContextClass
public OpenIdToken authenticationContextClass(String authenticationContextClass)
-
authenticationMethods
public FingerTrieSeq<String> authenticationMethods()
-
authenticationMethods
public OpenIdToken authenticationMethods(String... authenticationMethods)
-
authorizedParty
public String authorizedParty()
-
authorizedParty
public OpenIdToken authorizedParty(String authorizedParty)
-
copy
protected OpenIdToken copy(Value value)
- Overrides:
copy
in classJsonWebToken
-
from
public static OpenIdToken from(Value value)
-
parse
public static OpenIdToken parse(String json)
-
verify
public static OpenIdToken verify(JsonWebSignature jws, Iterable<PublicKeyDef> publicKeyDefs)
-
verify
public static OpenIdToken verify(String compactJws, Iterable<PublicKeyDef> publicKeyDefs)
-
-