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

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

- ## Method Details

  - ### decode

    Credentials.Entry 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 mechanism for which decoder works
    Returns:
      name of mechanism for which decoder works