Interface CredentialHandler

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean matches​(String inputCredentials, String storedCredentials)
      Checks to see if the input credentials match the stored credentials
      String mutate​(String inputCredentials)
      Generates the equivalent stored credentials for the given input credentials.
    • Method Detail

      • matches

        boolean matches​(String inputCredentials,
                        String storedCredentials)
        Checks to see if the input credentials match the stored credentials
        Parameters:
        inputCredentials - User provided credentials
        storedCredentials - Credentials stored in the Realm
        Returns:
        true if the inputCredentials match the storedCredentials, otherwise false
      • mutate

        String mutate​(String inputCredentials)
        Generates the equivalent stored credentials for the given input credentials.
        Parameters:
        inputCredentials - User provided credentials
        Returns:
        The equivalent stored credentials for the given input credentials