public class AccessTokenIdentifier extends Object
| Constructor and Description |
|---|
AccessTokenIdentifier(String username,
Collection<String> groups,
long issueTimestamp,
long expireTimestamp) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
long |
getExpireTimestamp()
Returns the timestamp, in milliseconds, when this token will expire.
|
List<String> |
getGroups()
Returns the list of verified group memberships for this user identity.
|
long |
getIssueTimestamp()
Returns the timestamp, in milliseconds, when this token was issued.
|
String |
getUsername()
Returns the username for this identity.
|
int |
hashCode() |
String |
toString() |
public AccessTokenIdentifier(String username, Collection<String> groups, long issueTimestamp, long expireTimestamp)
public String getUsername()
public List<String> getGroups()
public long getIssueTimestamp()
public long getExpireTimestamp()
Copyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.