public class WhoAmI extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_ACCOUNT |
static String |
SERIALIZED_NAME_CLIENT_IP |
static String |
SERIALIZED_NAME_TOKEN_ISSUED_AT |
static String |
SERIALIZED_NAME_USER_AGENT |
static String |
SERIALIZED_NAME_USERNAME |
| Constructor and Description |
|---|
WhoAmI() |
| Modifier and Type | Method and Description |
|---|---|
WhoAmI |
account(String account) |
WhoAmI |
clientIp(String clientIp) |
boolean |
equals(Object o) |
String |
getAccount()
The account attribute of the client provided access token.
|
String |
getClientIp()
The request client IP address as determined by Conjur.
|
String |
getTokenIssuedAt()
The issued timestamp, that is, when the provided access token was created (iat field in the JWT)
|
String |
getUserAgent()
The incoming request HTTP user agent header.
|
String |
getUsername()
The username attribute of the provided access token.
|
int |
hashCode() |
void |
setAccount(String account) |
void |
setClientIp(String clientIp) |
void |
setTokenIssuedAt(String tokenIssuedAt) |
void |
setUserAgent(String userAgent) |
void |
setUsername(String username) |
WhoAmI |
tokenIssuedAt(String tokenIssuedAt) |
String |
toString() |
WhoAmI |
userAgent(String userAgent) |
WhoAmI |
username(String username) |
public static final String SERIALIZED_NAME_ACCOUNT
public static final String SERIALIZED_NAME_CLIENT_IP
public static final String SERIALIZED_NAME_TOKEN_ISSUED_AT
public static final String SERIALIZED_NAME_USER_AGENT
public static final String SERIALIZED_NAME_USERNAME
@Nullable public String getAccount()
public void setAccount(String account)
@Nullable public String getClientIp()
public void setClientIp(String clientIp)
@Nullable public String getTokenIssuedAt()
public void setTokenIssuedAt(String tokenIssuedAt)
@Nullable public String getUserAgent()
public void setUserAgent(String userAgent)
@Nullable public String getUsername()
public void setUsername(String username)
Copyright © 2023. All rights reserved.