All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.scalecube.services.auth.Authenticator Maven / Gradle / Ivy

package io.scalecube.services.auth;

import io.scalecube.services.api.ServiceMessage;
import reactor.core.publisher.Mono;

/**
 * Authenticator.
 *
 * @param 

principal type */ public interface Authenticator

{ /** * Returns principal by given credentials. * * @param message service message * @return async result with obtained principal */ Mono

authenticate(ServiceMessage message); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy