Package io.quarkus.security.runtime
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QuarkusIdentityProviderManagerImpl.Builder
A builder for constructing instances ofQuarkusIdentityProviderManagerImpl
-
Constructor Summary
Constructors Constructor Description QuarkusIdentityProviderManagerImpl(QuarkusIdentityProviderManagerImpl.Builder builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 providedAuthenticationRequest
.io.quarkus.security.identity.SecurityIdentity
authenticateBlocking(io.quarkus.security.identity.request.AuthenticationRequest request)
Attempts to create an authenticated identity for the providedAuthenticationRequest
in a blocking mannerstatic QuarkusIdentityProviderManagerImpl.Builder
builder()
Creates a builder for constructing instances ofQuarkusIdentityProviderManagerImpl
-
-
-
Constructor Detail
-
QuarkusIdentityProviderManagerImpl
QuarkusIdentityProviderManagerImpl(QuarkusIdentityProviderManagerImpl.Builder builder)
-
-
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 providedAuthenticationRequest
.If authentication succeeds the resulting identity will be augmented with any configured
SecurityIdentityAugmentor
instances that have been registered.- Specified by:
authenticate
in interfaceio.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 providedAuthenticationRequest
in a blocking mannerIf authentication succeeds the resulting identity will be augmented with any configured
SecurityIdentityAugmentor
instances that have been registered.- Specified by:
authenticateBlocking
in interfaceio.quarkus.security.identity.IdentityProviderManager
- Parameters:
request
- The authentication request- Returns:
- The first identity provider that was registered with this type
-
builder
public static QuarkusIdentityProviderManagerImpl.Builder builder()
Creates a builder for constructing instances ofQuarkusIdentityProviderManagerImpl
- Returns:
- A builder
-
-