Interface AccessTokenApi
-
- All Known Implementing Classes:
TuleapAuthenticationApiAuthenticationClient
public interface AccessTokenApi
-
-
Field Summary
Fields Modifier and Type Field Description static StringACCESS_TOKEN_APIstatic StringACCESS_TOKEN_CONTENT_TYPEstatic StringREDIRECT_URIstatic StringREFRESH_TOKEN_SCOPES
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccessTokengetAccessToken(String codeVerifier, String authorizationCode, String clientId, Secret clientSecret)AccessTokenrefreshToken(AccessToken accessToken, String clientId, Secret clientSecret)
-
-
-
Field Detail
-
ACCESS_TOKEN_API
static final String ACCESS_TOKEN_API
- See Also:
- Constant Field Values
-
ACCESS_TOKEN_CONTENT_TYPE
static final String ACCESS_TOKEN_CONTENT_TYPE
- See Also:
- Constant Field Values
-
REDIRECT_URI
static final String REDIRECT_URI
- See Also:
- Constant Field Values
-
REFRESH_TOKEN_SCOPES
static final String REFRESH_TOKEN_SCOPES
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAccessToken
AccessToken getAccessToken(String codeVerifier, String authorizationCode, String clientId, Secret clientSecret)
-
refreshToken
AccessToken refreshToken(AccessToken accessToken, String clientId, Secret clientSecret)
-
-