Interface OAuth2IdentityProvider
-
- All Superinterfaces:
IdentityProvider
public interface OAuth2IdentityProvider extends IdentityProvider
- Since:
- 5.4
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
OAuth2IdentityProvider.CallbackContext
static interface
OAuth2IdentityProvider.InitContext
static interface
OAuth2IdentityProvider.OAuth2Context
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
callback(OAuth2IdentityProvider.CallbackContext context)
This method is called when the identity provider has authenticated a user.void
init(OAuth2IdentityProvider.InitContext context)
Entry-point of authentication workflow.-
Methods inherited from interface org.sonar.api.server.authentication.IdentityProvider
allowsUsersToSignUp, getDisplay, getKey, getName, isEnabled
-
-
-
-
Method Detail
-
init
void init(OAuth2IdentityProvider.InitContext context)
Entry-point of authentication workflow. Executed by core when user clicks on the related button in login form (GET /sessions/init/{provider key}).
-
callback
void callback(OAuth2IdentityProvider.CallbackContext context)
This method is called when the identity provider has authenticated a user.
-
-