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

io.scalecube.security.api.Authenticator Maven / Gradle / Ivy

There is a newer version: 1.0.33.rc1
Show newest version
package io.scalecube.security.api;

import reactor.core.publisher.Mono;

@FunctionalInterface
public interface Authenticator {
  /**
   * Authenticate the identity of one.
   *
   * @param token a string of identity, can be a token, a user and password etc,.
   * @return a mono with profile identifying the one, or mono with an error.
   */
  Mono authenticate(String token);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy