Class OAuth2AuthenticationAccessToken
java.lang.Object
eu.dzhw.fdz.metadatamanagement.usermanagement.domain.OAuth2AuthenticationAccessToken
public class OAuth2AuthenticationAccessToken extends Object
The OAuth2 AccessToken.
-
Field Summary
Fields Modifier and Type Field Description private byte[]
authentication
private String
authenticationId
private String
clientId
private String
refreshToken
private byte[]
token
private String
tokenId
private String
username
-
Constructor Summary
Constructors Constructor Description OAuth2AuthenticationAccessToken()
OAuth2AuthenticationAccessToken(String tokenId, byte[] token, String authenticationId, String username, String clientId, byte[] authentication, String refreshToken)
Construct an access token. -
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
byte[]
getAuthentication()
String
getAuthenticationId()
String
getClientId()
String
getRefreshToken()
byte[]
getToken()
String
getTokenId()
String
getUsername()
int
hashCode()
-
Field Details
-
tokenId
-
token
private byte[] token -
authenticationId
-
username
-
clientId
-
authentication
private byte[] authentication -
refreshToken
-
-
Constructor Details
-
OAuth2AuthenticationAccessToken
public OAuth2AuthenticationAccessToken() -
OAuth2AuthenticationAccessToken
public OAuth2AuthenticationAccessToken(String tokenId, byte[] token, String authenticationId, String username, String clientId, byte[] authentication, String refreshToken)Construct an access token.
-
-
Method Details