Package com.atlassian.bamboo.accesstoken
Interface AccessToken
- All Known Subinterfaces:
MutableAccessToken
,RawAccessToken
- All Known Implementing Classes:
MutableAccessTokenImpl
public interface AccessToken
Basic access token data without authentication token itself
- Since:
- 6.10
-
Method Details
-
getTokenId
- Returns:
- unique token id
-
getName
- Returns:
- name of the token
-
getUserName
- Returns:
- token owner user name
-
getCreationDate
- Returns:
- token creation date
-
getPermissions
- Returns:
- permissions granted to this token
-
getDaysUntilExpiry
- Returns:
- number of days until the token expires since its creation date
- Since:
- 9.4.0
-
toAccessToken
AccessToken toAccessToken()- Returns:
- safe version of access token without authentication token itself
-