public class SpringSecurityOAuth2CredentialProviderFactory extends CredentialProviderFactory<SpringSecurityOAuth2CredentialProviderFactory.Config>
Modifier and Type | Class and Description |
---|---|
static class |
SpringSecurityOAuth2CredentialProviderFactory.Config |
Modifier and Type | Field and Description |
---|---|
static String |
SPRING_SECURITY_OAUTH2_CLIENT_ID_KEY
Key for storing the Spring Security OAuth2 Client ID in the environment
|
static String |
SPRING_SECURITY_OAUTH2_CLIENT_SECRET_KEY
Key for storing the Spring Security OAuth2 Client Secret in the environment
|
static String |
SPRING_SECURITY_OAUTH2_REGISTRATION_KEY
Key for storing the Spring Security OAuth2 Registration in the environment
|
Constructor and Description |
---|
SpringSecurityOAuth2CredentialProviderFactory(CredentialGenerator credentialGenerator,
OAuth2Client oAuth2Client) |
Modifier and Type | Method and Description |
---|---|
CredentialProvider |
create(SpringSecurityOAuth2CredentialProviderFactory.Config config) |
getName
createWithConfig, createWithConfig, getShortName
public static final String SPRING_SECURITY_OAUTH2_REGISTRATION_KEY
public static final String SPRING_SECURITY_OAUTH2_CLIENT_ID_KEY
public static final String SPRING_SECURITY_OAUTH2_CLIENT_SECRET_KEY
public SpringSecurityOAuth2CredentialProviderFactory(CredentialGenerator credentialGenerator, OAuth2Client oAuth2Client)
public CredentialProvider create(SpringSecurityOAuth2CredentialProviderFactory.Config config)
create
in interface ExtensionFactory<CredentialProvider,SpringSecurityOAuth2CredentialProviderFactory.Config>
create
in class CredentialProviderFactory<SpringSecurityOAuth2CredentialProviderFactory.Config>