com.holonplatform.auth

## Interface CredentialsContainer.CredentialsMatcher

- Enclosing interface:
    CredentialsContainer
  Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

      @FunctionalInterface
      public static interface CredentialsContainer.CredentialsMatcher

  This interface represents classes able to determine if provided credentials matches account's stored credentials.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `credentialsMatch(CredentialsContainer provided, CredentialsContainer stored)` Check if provided credentials match the given stored credentials

- - ### Method Detail

    - #### credentialsMatch

          boolean credentialsMatch(CredentialsContainer provided,
                                   CredentialsContainer stored)
                            throws AuthenticationException

      Check if provided credentials match the given stored credentials
      Parameters:
        `provided` - Provided credentials
        `stored` - Stored credentials to match
      Returns:
        `true` if the provided credentials match the stored credentials, `false` otherwise.
      Throws:
        `AuthenticationException` - Error during credentials match (e.g. invalid or unknown credentials)

Copyright © 2017 The Holon Platform. All rights reserved.