Package com.cyberark.conjur.sdk.model
Class WhoAmI
java.lang.Object
com.cyberark.conjur.sdk.model.WhoAmI
Information about the client making a request
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe account attribute of the client provided access token.The request client IP address as determined by Conjur.The issued timestamp, that is, when the provided access token was created (iat field in the JWT)The incoming request HTTP user agent header.The username attribute of the provided access token.inthashCode()voidsetAccount(String account) voidsetClientIp(String clientIp) voidsetTokenIssuedAt(String tokenIssuedAt) voidsetUserAgent(String userAgent) voidsetUsername(String username) tokenIssuedAt(String tokenIssuedAt) toString()
-
Field Details
-
SERIALIZED_NAME_ACCOUNT
- See Also:
-
SERIALIZED_NAME_CLIENT_IP
- See Also:
-
SERIALIZED_NAME_TOKEN_ISSUED_AT
- See Also:
-
SERIALIZED_NAME_USER_AGENT
- See Also:
-
SERIALIZED_NAME_USERNAME
- See Also:
-
-
Constructor Details
-
WhoAmI
public WhoAmI()
-
-
Method Details
-
account
-
getAccount
The account attribute of the client provided access token.- Returns:
- account
-
setAccount
-
clientIp
-
getClientIp
The request client IP address as determined by Conjur. This same IP address appears in application logs and audit logs.- Returns:
- clientIp
-
setClientIp
-
tokenIssuedAt
-
getTokenIssuedAt
The issued timestamp, that is, when the provided access token was created (iat field in the JWT)- Returns:
- tokenIssuedAt
-
setTokenIssuedAt
-
userAgent
-
getUserAgent
The incoming request HTTP user agent header.- Returns:
- userAgent
-
setUserAgent
-
username
-
getUsername
The username attribute of the provided access token.- Returns:
- username
-
setUsername
-
equals
-
hashCode
public int hashCode() -
toString
-