Interface IdentityProviderManager


public interface IdentityProviderManager
A manager that can be used to get a specific type of identity provider.
  • Method Details

    • authenticate

      io.smallrye.mutiny.Uni<SecurityIdentity> authenticate(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.

      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 provided AuthenticationRequest in a blocking manner

      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