Package com.yahoo.vespa.athenz.api
Class AthenzAccessToken
- java.lang.Object
-
- com.yahoo.vespa.athenz.api.AthenzAccessToken
-
public class AthenzAccessToken extends Object
Represents an Athenz Access Token- Author:
- bjorncs
-
-
Field Summary
Fields Modifier and Type Field Description static String
HTTP_HEADER_NAME
-
Constructor Summary
Constructors Constructor Description AthenzAccessToken(String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
AthenzIdentity
getAthenzIdentity()
Instant
getExpiryTime()
int
hashCode()
List<AthenzRole>
roles()
String
toString()
String
value()
String
valueWithBearerPrefix()
-
-
-
Field Detail
-
HTTP_HEADER_NAME
public static final String HTTP_HEADER_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AthenzAccessToken
public AthenzAccessToken(String value)
-
-
Method Detail
-
value
public String value()
-
valueWithBearerPrefix
public String valueWithBearerPrefix()
-
getExpiryTime
public Instant getExpiryTime()
-
getAthenzIdentity
public AthenzIdentity getAthenzIdentity()
-
roles
public List<AthenzRole> roles()
-
-