Package io.quarkus.security.identity
Interface IdentityProviderManager
-
public interface IdentityProviderManagerA 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.SecurityIdentityauthenticateBlocking(AuthenticationRequest request)Attempts to create an authenticated identity for the providedAuthenticationRequestin 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
SecurityIdentityAugmentorinstances 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 providedAuthenticationRequestin a blocking mannerIf authentication succeeds the resulting identity will be augmented with any configured
SecurityIdentityAugmentorinstances that have been registered.- Parameters:
request- The authentication request- Returns:
- The first identity provider that was registered with this type
-
-