Package tigase.auth.credentials

# Interface Credentials.Decoder<E extends Credentials.Entry>

All Known Implementing Classes:
  `MD5PasswordCredentialsEntry.Decoder`, `MD5UserIdPasswordCredentialsEntry.Decoder`, `MD5UsernamePasswordCredentialsEntry.Decoder`, `PlainCredentialsEntry.Decoder`, `ScramCredentialsEntry.Decoder`, `ScramSha1CredentialsEntry.Decoder`, `ScramSha256CredentialsEntry.Decoder`, `ScramSha512CredentialsEntry.Decoder`, `XTokenCredentialsEntry.Decoder`

Enclosing interface:
  Credentials

public static interface Credentials.Decoder<E extends Credentials.Entry>
Interface implemented by credentials decoder converting from value stored in database to the form represented by implementation of Entry interface.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `E`
  `decode(BareJID user, String value)`
  Decode credentials stored in database to more suitable form.
  `String`
  `getName()`
  Name of the encryption mechanism for which decoder works

- ## Method Details

  - ### decode

    E decode(BareJID user, String value)
    Decode credentials stored in database to more suitable form.
    Returns:
      credentials stored in database in more suitable form

  - ### getName

    String getName()
    Name of the encryption mechanism for which decoder works
    Returns:
      name of the encryption mechanism for which decoder works