org.keycloak.models

## Class FederatedIdentityModel

- java.lang.Object
- - org.keycloak.models.FederatedIdentityModel

-     public class FederatedIdentityModel
      extends Object

  Author:
    Marek Posolda

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FederatedIdentityModel(String identityProvider, String userId, String userName)`
    `FederatedIdentityModel(String providerId, String userId, String userName, String token)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getIdentityProvider()`
    `String` | `getToken()`
    `String` | `getUserId()`
    `String` | `getUserName()`
    `void` | `setToken(String token)`

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

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

- - ### Constructor Detail

    - #### FederatedIdentityModel

          public FederatedIdentityModel(String identityProvider,
                                String userId,
                                String userName)

    - #### FederatedIdentityModel

          public FederatedIdentityModel(String providerId,
                                String userId,
                                String userName,
                                String token)

  - ### Method Detail

    - #### getUserId

          public String getUserId()

    - #### getIdentityProvider

          public String getIdentityProvider()

    - #### getUserName

          public String getUserName()

    - #### getToken

          public String getToken()

    - #### setToken

          public void setToken(String token)

Copyright © 2015. All rights reserved.