Interface AccessTokenProvider
-
- All Known Implementing Classes:
TfsAccessTokenProvider
public interface AccessTokenProvider
Token provider.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OAuthToken
completeAuthorization(OAuthConnectionDescriptor connection, long userId, String code)
String
getAuthorizeUrl(OAuthConnectionDescriptor connection, String state, String scope)
OAuthToken
getUpdatedToken(OAuthConnectionDescriptor connection, OAuthToken token)
-
-
-
Method Detail
-
getAuthorizeUrl
String getAuthorizeUrl(@NotNull OAuthConnectionDescriptor connection, String state, String scope)
-
completeAuthorization
OAuthToken completeAuthorization(@NotNull OAuthConnectionDescriptor connection, long userId, String code) throws Exception
- Throws:
Exception
-
getUpdatedToken
OAuthToken getUpdatedToken(@NotNull OAuthConnectionDescriptor connection, OAuthToken token) throws Exception
- Throws:
Exception
-
-