tigase.auth.credentials

## Interface Credentials.Decoder

- All Known Implementing Classes:
    MD5PasswordCredentialsEntry.Decoder, MD5UserIdPasswordCredentialsEntry.Decoder, MD5UsernamePasswordCredentialsEntry.Decoder, PlainCredentialsEntry.Decoder, ScramCredentialsEntry.Decoder, ScramSha1CredentialsEntry.Decoder, ScramSha256CredentialsEntry.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 and Description
    --- | ---
    `Credentials.Entry` | `decode(BareJID user, String value)` Decode password stored in database to more suitable form.
    `String` | `getName()` Name of mechanism for which decoder works

- - ### Method Detail

    - #### getName

          String getName()

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

    - #### decode

          Credentials.Entry decode(BareJID user,
                                   String value)

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

Copyright © 2004–2019 "Tigase, Inc.". All rights reserved.