Interface AccessTokenProvider
-
- All Known Implementing Classes:
TfsAccessTokenProvider
public interface AccessTokenProviderToken provider.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OAuthTokencompleteAuthorization(OAuthConnectionDescriptor connection, long userId, String code)StringgetAuthorizeUrl(OAuthConnectionDescriptor connection, String state, String scope)OAuthTokengetUpdatedToken(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
-
-