public class AuthResponse extends Object
Constructor and Description |
---|
AuthResponse() |
Modifier and Type | Method and Description |
---|---|
AuthResponse |
accessToken(String accessToken) |
AuthResponse |
entityId(String entityId) |
boolean |
equals(Object o) |
AuthResponse |
expiresIn(Integer expiresIn) |
String |
getAccessToken()
Bearer token to be used to authenticate to other APIs.
|
String |
getEntityId()
The UUID of the entity that was authorized.
|
Integer |
getExpiresIn()
Number of seconds from token issuance that the token will expire.
|
int |
hashCode() |
void |
setAccessToken(String accessToken) |
void |
setEntityId(String entityId) |
void |
setExpiresIn(Integer expiresIn) |
String |
toString() |
public AuthResponse expiresIn(Integer expiresIn)
public Integer getExpiresIn()
public void setExpiresIn(Integer expiresIn)
public AuthResponse accessToken(String accessToken)
public String getAccessToken()
public void setAccessToken(String accessToken)
public AuthResponse entityId(String entityId)
public String getEntityId()
public void setEntityId(String entityId)
Copyright © 2017-2023 Fortanix Inc. All Rights Reserved