Class QuarkusIdentityProviderManagerImpl

java.lang.Object
io.quarkus.security.runtime.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.
  • Constructor Details

  • Method Details

    • 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
    • builder

      Creates a builder for constructing instances of QuarkusIdentityProviderManagerImpl
      Returns:
      A builder