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 class
OAuthFlow.OAuthResult
static class
OAuthFlow.UserData
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OAuthFlow.OAuthResult
completeOAuth(OAuthConnectionDescriptor opb, javax.servlet.http.HttpServletRequest request, String redirectUri)
OAuthFlow.UserData
getUserData(OAuthConnectionDescriptor opb, String token, javax.servlet.http.HttpServletRequest request)
String
getUserLink(OAuthConnectionDescriptor opb, String username)
String
redirectToOAuthProvider(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)
-
-