Class RefreshableTokenImpl
- java.lang.Object
-
- jetbrains.buildServer.connections.ExpiringAccessTokenImpl
-
- jetbrains.buildServer.serverSide.connections.RefreshableTokenDataImpl
-
- jetbrains.buildServer.serverSide.connections.RefreshableTokenImpl
-
- All Implemented Interfaces:
AccessToken
,ExpiringAccessToken
,RefreshableToken
,RefreshableTokenData
- Direct Known Subclasses:
OAuthToken
public class RefreshableTokenImpl extends RefreshableTokenDataImpl implements RefreshableToken
-
-
Field Summary
-
Fields inherited from interface jetbrains.buildServer.connections.AccessToken
TOKEN_ID_PREFIX
-
-
Constructor Summary
Constructors Constructor Description RefreshableTokenImpl(String accessToken, String scope, String oauthLogin, int timeToLiveSeconds, long teamCityUserId)
RefreshableTokenImpl(String accessToken, String scope, String oauthLogin, int timeToLiveSeconds, long teamCityUserId, long createTime)
RefreshableTokenImpl(String id, String accessToken, String scope, String oauthLogin, int timeToLiveSeconds, long teamCityUserId)
RefreshableTokenImpl(String id, String accessToken, String scope, String oauthLogin, int timeToLiveSeconds, long teamCityUserId, long createTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
-
Methods inherited from class jetbrains.buildServer.serverSide.connections.RefreshableTokenDataImpl
addContextKey, addContextKeys, equals, getAccessibleEntities, getContextKeys, getCreateDate, getFailedToRefresh, getName, getOauthLogin, getRecordCreateTimeMs, getRefreshToken, getScope, getTeamCityUserId, getTimeToLiveSeconds, hashCode, isAllowedForEntity, isPermanent, removeContextKey, setAccessibleEntities, setFailedToRefresh, setName, setRecordCreateTimeMs, setRefreshToken
-
Methods inherited from class jetbrains.buildServer.connections.ExpiringAccessTokenImpl
getAccessToken, getCreateTimeMs, getTimeToLiveMs, isExpired, isExpiring, isValid
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jetbrains.buildServer.connections.AccessToken
getAccessToken
-
Methods inherited from interface jetbrains.buildServer.connections.ExpiringAccessToken
getCreateTimeMs, getTimeToLiveMs, isExpired, isExpiring, isValid
-
Methods inherited from interface jetbrains.buildServer.serverSide.connections.RefreshableTokenData
addContextKey, addContextKeys, getAccessibleEntities, getContextKeys, getCreateDate, getFailedToRefresh, getName, getOauthLogin, getRecordCreateTimeMs, getRefreshToken, getScope, getTeamCityUserId, getTimeToLiveSeconds, isAllowedForEntity, isPermanent, removeContextKey, setAccessibleEntities
-
-
-
-
Constructor Detail
-
RefreshableTokenImpl
public RefreshableTokenImpl(@NotNull String accessToken, @NotNull String scope, @NotNull String oauthLogin, int timeToLiveSeconds, long teamCityUserId)
-
RefreshableTokenImpl
public RefreshableTokenImpl(@NotNull String id, @NotNull String accessToken, @NotNull String scope, @NotNull String oauthLogin, int timeToLiveSeconds, long teamCityUserId)
-
RefreshableTokenImpl
public RefreshableTokenImpl(String accessToken, String scope, String oauthLogin, int timeToLiveSeconds, long teamCityUserId, long createTime)
-
-
Method Detail
-
getId
@NotNull public String getId()
- Specified by:
getId
in interfaceRefreshableToken
- Returns:
- token id
-
-