Interface OAuthFlow
-
- All Known Implementing Classes:
AzureDevOpsOAuth,BitBucketOAuth,GitHubOAuth,GitLabOAuth,GoogleOAuth,SpaceOAuth
public interface OAuthFlow
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classOAuthFlow.OAuthResultstatic classOAuthFlow.UserData
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OAuthFlow.OAuthResultcompleteOAuth(OAuthConnectionDescriptor opb, javax.servlet.http.HttpServletRequest request, String redirectUri)OAuthFlow.UserDatagetUserData(OAuthConnectionDescriptor opb, String token, javax.servlet.http.HttpServletRequest request)StringgetUserLink(OAuthConnectionDescriptor opb, String username)StringredirectToOAuthProvider(OAuthConnectionDescriptor connectionDescriptor, Map<String,String> stateParametrs, String scope, String redirectUri)
-
-
-
Method Detail
-
redirectToOAuthProvider
@NotNull String redirectToOAuthProvider(@NotNull OAuthConnectionDescriptor connectionDescriptor, @NotNull Map<String,String> stateParametrs, @Nullable String scope, @NotNull String redirectUri)
-
completeOAuth
@NotNull OAuthFlow.OAuthResult completeOAuth(@NotNull OAuthConnectionDescriptor opb, @NotNull javax.servlet.http.HttpServletRequest request, @NotNull String redirectUri) throws OAuthException
- Throws:
OAuthException
-
getUserData
@NotNull OAuthFlow.UserData getUserData(@NotNull OAuthConnectionDescriptor opb, @NotNull String token, @NotNull javax.servlet.http.HttpServletRequest request)
-
getUserLink
@NotNull String getUserLink(@NotNull OAuthConnectionDescriptor opb, @NotNull String username)
-
-