com.holonplatform.auth

## Interface CredentialsContainer

- All Known Subinterfaces:
    Account, AuthenticationToken, SpringSecurityAuthenticationToken
  All Known Implementing Classes:
    AccountCredentialsToken, BearerAuthenticationToken, DefaultAccount, DefaultSpringSecurityAuthenticationToken
  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 interface CredentialsContainer

  Interface implemented by classes which provides credentials data
  Since:
    5.0.0
  See Also:
    `Credentials`

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static interface` | `CredentialsContainer.CredentialsMatcher` This interface represents classes able to determine if provided credentials matches account's stored credentials.

  - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `static CredentialsContainer.CredentialsMatcher` | `defaultMatcher()` Build the default CredentialsMatcher
    `Object` | `getCredentials()` Credentials data

- - ### Method Detail

    - #### getCredentials

          Object getCredentials()

      Credentials data
      Returns:
        Credentials

    - #### defaultMatcher

          static CredentialsContainer.CredentialsMatcher defaultMatcher()

      Build the default CredentialsMatcher
      Returns:
        Default CredentialsMatcher

Copyright © 2019 The Holon Platform. All rights reserved.