Class QuarkusIdentityProviderManagerImpl

  • All Implemented Interfaces:
    io.quarkus.security.identity.IdentityProviderManager

    public class QuarkusIdentityProviderManagerImpl
    extends Object
    implements io.quarkus.security.identity.IdentityProviderManager
    A manager that can be used to get a specific type of identity provider.
    • Method Detail

      • authenticate

        public io.smallrye.mutiny.Uni<io.quarkus.security.identity.SecurityIdentity> authenticate​(io.quarkus.security.identity.request.AuthenticationRequest request)
        Attempts to create an authenticated identity for the provided AuthenticationRequest.

        If authentication succeeds the resulting identity will be augmented with any configured SecurityIdentityAugmentor instances that have been registered.

        Specified by:
        authenticate in interface io.quarkus.security.identity.IdentityProviderManager
        Parameters:
        request - The authentication request
        Returns:
        The first identity provider that was registered with this type
      • authenticateBlocking

        public io.quarkus.security.identity.SecurityIdentity authenticateBlocking​(io.quarkus.security.identity.request.AuthenticationRequest request)
        Attempts to create an authenticated identity for the provided AuthenticationRequest in a blocking manner

        If authentication succeeds the resulting identity will be augmented with any configured SecurityIdentityAugmentor instances that have been registered.

        Specified by:
        authenticateBlocking in interface io.quarkus.security.identity.IdentityProviderManager
        Parameters:
        request - The authentication request
        Returns:
        The first identity provider that was registered with this type