Module io.quarkus.security.api
Package io.quarkus.security.identity
Interface IdentityProviderManager
public interface IdentityProviderManager
A manager that can be used to get a specific type of identity provider.
-
Method Summary
Modifier and TypeMethodDescriptionio.smallrye.mutiny.Uni<SecurityIdentity>
authenticate
(AuthenticationRequest request) Attempts to create an authenticated identity for the providedAuthenticationRequest
.Attempts to create an authenticated identity for the providedAuthenticationRequest
in a blocking manner
-
Method Details
-
authenticate
Attempts to create an authenticated identity for the providedAuthenticationRequest
.If authentication succeeds the resulting identity will be augmented with any configured
SecurityIdentityAugmentor
instances that have been registered.- Parameters:
request
- The authentication request- Returns:
- The first identity provider that was registered with this type
-
authenticateBlocking
Attempts to create an authenticated identity for the providedAuthenticationRequest
in a blocking mannerIf authentication succeeds the resulting identity will be augmented with any configured
SecurityIdentityAugmentor
instances that have been registered.- Parameters:
request
- The authentication request- Returns:
- The first identity provider that was registered with this type
-