Class ClientIdAndSecretAuthenticator
java.lang.Object
org.keycloak.authentication.authenticators.client.AbstractClientAuthenticator
org.keycloak.authentication.authenticators.client.ClientIdAndSecretAuthenticator
- All Implemented Interfaces:
ClientAuthenticator,ClientAuthenticatorFactory,ConfigurableAuthenticatorFactory,ConfiguredProvider,Provider,ProviderFactory<ClientAuthenticator>
Validates client based on "client_id" and "client_secret" sent either in request parameters or in "Authorization: Basic" header .
See org.keycloak.adapters.authentication.ClientIdAndSecretAuthenticator for the adapter
- Author:
- Marek Posolda
-
Field Summary
FieldsFields inherited from interface org.keycloak.authentication.ConfigurableAuthenticatorFactory
REQUIREMENT_CHOICES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetAdapterConfiguration(ClientModel client) getId()getProtocolAuthenticatorMethods(String loginProtocol) booleanbooleanMethods inherited from class org.keycloak.authentication.authenticators.client.AbstractClientAuthenticator
close, create, create, getReferenceCategory, init, isUserSetupAllowed, postInitMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.authentication.ConfigurableAuthenticatorFactory
getOptionalReferenceCategoriesMethods inherited from interface org.keycloak.provider.ConfiguredProvider
getConfigMethods inherited from interface org.keycloak.provider.ProviderFactory
dependsOn, getConfigMetadata, order
-
Field Details
-
PROVIDER_ID
- See Also:
-
-
Constructor Details
-
ClientIdAndSecretAuthenticator
public ClientIdAndSecretAuthenticator()
-
-
Method Details
-
authenticateClient
-
getDisplayType
-
isConfigurable
public boolean isConfigurable() -
getRequirementChoices
-
getHelpText
-
getConfigProperties
-
getConfigPropertiesPerClient
-
getAdapterConfiguration
-
getId
-
getProtocolAuthenticatorMethods
-
supportsSecret
public boolean supportsSecret()
-