io.quarkus.security.identity.request.CertificateAuthenticationRequest Maven / Gradle / Ivy
package io.quarkus.security.identity.request;
import io.quarkus.security.credential.CertificateCredential;
/**
* A {@link AuthenticationRequest} to authenticate from a {@link CertificateCredential}, such as when authenticating clients through TLS
*/
public class CertificateAuthenticationRequest extends BaseAuthenticationRequest implements AuthenticationRequest {
private final CertificateCredential certificate;
public CertificateAuthenticationRequest(CertificateCredential certificate) {
this.certificate = certificate;
}
public CertificateCredential getCertificate() {
return certificate;
}
}