Package tigase.auth.credentials

## Interface Credentials.Decoder

- All Known Implementing Classes:
    `MD5PasswordCredentialsEntry.Decoder`, `MD5UserIdPasswordCredentialsEntry.Decoder`, `MD5UsernamePasswordCredentialsEntry.Decoder`, `PlainCredentialsEntry.Decoder`, `ScramCredentialsEntry.Decoder`, `ScramSha1CredentialsEntry.Decoder`, `ScramSha256CredentialsEntry.Decoder`, `ScramSha512CredentialsEntry.Decoder`
  Enclosing interface:
    Credentials

      public static interface Credentials.Decoder

  Interface implemented by credentials decoder converting from value stored in database to the form represented by implementation of Entry interface.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Credentials.Entry` | `decode​(BareJID user, java.lang.String value)` | Decode credentials stored in database to more suitable form.
    `java.lang.String` | `getName()` | Name of mechanism for which decoder works

- - ### Method Detail

    - #### decode

          Credentials.Entry decode​(BareJID user,
                                   java.lang.String value)

      Decode credentials stored in database to more suitable form.
      Returns:
        credentials stored in database in more suitable form

    - #### getName

          java.lang.String getName()

      Name of mechanism for which decoder works
      Returns:
        name of mechanism for which decoder works