org.keycloak.representations.idm

## Class CredentialRepresentation

- java.lang.Object
- - org.keycloak.representations.idm.CredentialRepresentation

-     public class CredentialRepresentation
      extends Object

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `CLIENT_CERT`
    `protected String` | `device`
    `protected String` | `hashedSaltedValue`
    `protected Integer` | `hashIterations`
    `static String` | `PASSWORD`
    `static String` | `PASSWORD_TOKEN`
    `protected String` | `salt`
    `static String` | `SECRET`
    `protected boolean` | `temporary`
    `static String` | `TOTP`
    `protected String` | `type`
    `protected String` | `value`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `CredentialRepresentation()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getDevice()`
    `String` | `getHashedSaltedValue()`
    `Integer` | `getHashIterations()`
    `String` | `getSalt()`
    `String` | `getType()`
    `String` | `getValue()`
    `boolean` | `isTemporary()`
    `void` | `setDevice(String device)`
    `void` | `setHashedSaltedValue(String hashedSaltedValue)`
    `void` | `setHashIterations(Integer hashIterations)`
    `void` | `setSalt(String salt)`
    `void` | `setTemporary(boolean temporary)`
    `void` | `setType(String type)`
    `void` | `setValue(String value)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### SECRET

          public static final String SECRET

      See Also:
        Constant Field Values

    - #### PASSWORD

          public static final String PASSWORD

      See Also:
        Constant Field Values

    - #### PASSWORD_TOKEN

          public static final String PASSWORD_TOKEN

      See Also:
        Constant Field Values

    - #### TOTP

          public static final String TOTP

      See Also:
        Constant Field Values

    - #### CLIENT_CERT

          public static final String CLIENT_CERT

      See Also:
        Constant Field Values

    - #### type

          protected String type

    - #### device

          protected String device

    - #### value

          protected String value

    - #### hashedSaltedValue

          protected String hashedSaltedValue

    - #### salt

          protected String salt

    - #### hashIterations

          protected Integer hashIterations

    - #### temporary

          protected boolean temporary

  - ### Constructor Detail

    - #### CredentialRepresentation

          public CredentialRepresentation()

  - ### Method Detail

    - #### getType

          public String getType()

    - #### setType

          public void setType(String type)

    - #### getValue

          public String getValue()

    - #### setValue

          public void setValue(String value)

    - #### getDevice

          public String getDevice()

    - #### setDevice

          public void setDevice(String device)

    - #### getHashedSaltedValue

          public String getHashedSaltedValue()

    - #### setHashedSaltedValue

          public void setHashedSaltedValue(String hashedSaltedValue)

    - #### getSalt

          public String getSalt()

    - #### setSalt

          public void setSalt(String salt)

    - #### getHashIterations

          public Integer getHashIterations()

    - #### setHashIterations

          public void setHashIterations(Integer hashIterations)

    - #### isTemporary

          public boolean isTemporary()

    - #### setTemporary

          public void setTemporary(boolean temporary)

Copyright © 2015. All Rights Reserved.