Class AuthenticationProvider

    • Constructor Detail

      • AuthenticationProvider

        public AuthenticationProvider​(Object delegate)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • authenticate

        public Future<User> authenticate​(Credentials credentials)
        Authenticate a user.

        The first argument is a Credentials object containing information for authenticating the user. What this actually contains depends on the specific implementation.

        Parameters:
        credentials - The credentials
        Returns:
        The result future
      • rxAuthenticate

        public Single<User> rxAuthenticate​(Credentials credentials)
        Authenticate a user.

        The first argument is a Credentials object containing information for authenticating the user. What this actually contains depends on the specific implementation.

        Parameters:
        credentials - The credentials
        Returns:
        The result future