io.scalecube.services.auth.DelegatingAuthenticator Maven / Gradle / Ivy
package io.scalecube.services.auth;
import io.scalecube.services.exceptions.UnauthorizedException;
import java.util.Map;
import reactor.core.publisher.Mono;
/**
* Authenticator that checks presence of {@link #AUTH_CONTEXT_KEY} in the execution context of
* method {@link #authenticate(java.util.Map)}. Expect {@link UnauthorizedException} in case no auth
* context was found.
*/
public final class DelegatingAuthenticator implements Authenticator © 2015 - 2025 Weber Informatics LLC | Privacy Policy