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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.smallrye.mutiny.Uni<SecurityIdentity>
authenticate(AuthenticationRequest request)
Attempts to create an authenticated identity for the providedAuthenticationRequest
.SecurityIdentity
authenticateBlocking(AuthenticationRequest request)
Attempts to create an authenticated identity for the providedAuthenticationRequest
in a blocking manner
-
-
-
Method Detail
-
authenticate
io.smallrye.mutiny.Uni<SecurityIdentity> authenticate(AuthenticationRequest request)
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
SecurityIdentity authenticateBlocking(AuthenticationRequest request)
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
-
-