java.lang.Object
com.github.philippheuer.credentialmanager.domain.AuthenticationController
com.github.philippheuer.credentialmanager.authcontroller.DummyAuthController

public class DummyAuthController
extends AuthenticationController
Dummy Authentication Controller
  • Constructor Details

    • DummyAuthController

      public DummyAuthController()
      Constructor
  • Method Details

    • startOAuth2AuthorizationCodeGrantType

      public void startOAuth2AuthorizationCodeGrantType​(OAuth2IdentityProvider oAuth2IdentityProvider, java.lang.String redirectUrl, java.util.List<java.lang.Object> scopes)
      Starts the OAuth2Flow for the specified OAuth2 Identity Provider

      It starts out by building a link and directing the user’s browser to that URL. At a high level, the flow has the following steps The application opens a browser to send the user to the OAuth server The user sees the authorization prompt and approves the app’s request The user is redirected back to the application with an code in the URL fragment The server uses the code to retrieve a access token

      Specified by:
      startOAuth2AuthorizationCodeGrantType in class AuthenticationController
      Parameters:
      oAuth2IdentityProvider - OAuth2 Identity Provider
      redirectUrl - Redirect url
      scopes - Requested scopes