public static class TokenIntrospectionSuccessResponse.Builder extends Object
| Constructor and Description |
|---|
Builder(boolean active)
Creates a new token introspection success response builder.
|
public Builder(boolean active)
active - true if the token is active, else
false.public TokenIntrospectionSuccessResponse.Builder scope(Scope scope)
scope - The token scope, null if not specified.public TokenIntrospectionSuccessResponse.Builder clientID(ClientID clientID)
clientID - The client identifier, null if not
specified.public TokenIntrospectionSuccessResponse.Builder username(String username)
username - The username, null if not specified.public TokenIntrospectionSuccessResponse.Builder tokenType(AccessTokenType tokenType)
tokenType - The token type, null if not
specified.public TokenIntrospectionSuccessResponse.Builder expirationTime(Date exp)
exp - The token expiration time, null if not
specified.public TokenIntrospectionSuccessResponse.Builder issueTime(Date iat)
iat - The token issue time, null if not
specified.public TokenIntrospectionSuccessResponse.Builder notBeforeTime(Date nbf)
nbf - The token not-before time, null if not
specified.public TokenIntrospectionSuccessResponse.Builder subject(Subject sub)
sub - The token subject, null if not specified.public TokenIntrospectionSuccessResponse.Builder audience(List<Audience> audList)
audList - The token audience, null if not
specified.public TokenIntrospectionSuccessResponse.Builder issuer(Issuer iss)
iss - The token issuer, null if not specified.public TokenIntrospectionSuccessResponse.Builder jwtID(JWTID jti)
jti - The token identifier, null if not
specified.public TokenIntrospectionSuccessResponse.Builder parameter(String name, Object value)
name - The parameter name. Must not be null.value - The parameter value. Should map to a JSON type.
If null not specified.public TokenIntrospectionSuccessResponse build()
Copyright © 2017 Connect2id Ltd.. All rights reserved.