Interface IdentityProvider
-
- All Known Subinterfaces:
BaseIdentityProvider,OAuth2IdentityProvider
@ServerSide @ExtensionPoint public interface IdentityProvider
Entry-point to define a new Identity provider. Only one of this two interfaces can be used :OAuth2IdentityProviderfor OAuth2 authenticationBaseIdentityProviderfor other kind of authentication
- Since:
- 5.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanallowsUsersToSignUp()Can users sign-up (connecting with their account for the first time) ? Iftrue, then users can register and create their account into SonarQube, else only already registered users can login.DisplaygetDisplay()Display information for the login formjava.lang.StringgetKey()Unique key of provider, for example "github".java.lang.StringgetName()Name displayed in login form.booleanisEnabled()Is the provider fully configured and enabled ? Iftrue, then the provider is available in login form.
-
-
-
Method Detail
-
getKey
java.lang.String getKey()
Unique key of provider, for example "github". Must not be blank.
-
getName
java.lang.String getName()
Name displayed in login form. Must not be blank.
-
getDisplay
Display getDisplay()
Display information for the login form
-
isEnabled
boolean isEnabled()
Is the provider fully configured and enabled ? Iftrue, then the provider is available in login form.
-
allowsUsersToSignUp
boolean allowsUsersToSignUp()
Can users sign-up (connecting with their account for the first time) ? Iftrue, then users can register and create their account into SonarQube, else only already registered users can login.
-
-