public class ImmutableToken extends Object implements AuthenticationToken
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableToken.Builder |
APPLICATION_TOKEN_DIRECTORY_ID| Modifier | Constructor and Description |
|---|---|
protected |
ImmutableToken(Long id,
String identifierHash,
String randomHash,
long randomNumber,
Date createdDate,
long lastAccessedTime,
Long duration,
String name,
long directoryId,
String unaliasedUsername) |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableToken.Builder |
builder() |
static ImmutableToken.Builder |
builder(ImmutableToken data) |
boolean |
equals(Object o) |
Date |
getCreatedDate() |
long |
getDirectoryId() |
Long |
getDuration() |
Long |
getId() |
String |
getIdentifierHash() |
long |
getLastAccessedTime() |
TokenLifetime |
getLifetime() |
String |
getName() |
String |
getRandomHash() |
long |
getRandomNumber() |
String |
getUnaliasedUsername() |
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitisApplicationToken, isUserTokenpublic Long getId()
getId in interface AuthenticationTokenpublic String getIdentifierHash()
getIdentifierHash in interface AuthenticationTokenpublic String getRandomHash()
getRandomHash in interface AuthenticationTokenpublic long getRandomNumber()
getRandomNumber in interface AuthenticationTokenpublic Date getCreatedDate()
getCreatedDate in interface AuthenticationTokenpublic long getLastAccessedTime()
getLastAccessedTime in interface AuthenticationTokenpublic Long getDuration()
public String getName()
getName in interface AuthenticationTokenpublic long getDirectoryId()
getDirectoryId in interface AuthenticationTokenpublic String getUnaliasedUsername()
getUnaliasedUsername in interface AuthenticationTokenpublic TokenLifetime getLifetime()
getLifetime in interface AuthenticationTokenpublic static ImmutableToken.Builder builder()
public static ImmutableToken.Builder builder(ImmutableToken data)
Copyright © 2024 Atlassian. All rights reserved.