org.keycloak.broker.provider

## Interface IdentityProviderFactory<T extends IdentityProvider>

- All Superinterfaces:
    ProviderFactory<T>
  All Known Subinterfaces:
    SocialIdentityProviderFactory<I>
  All Known Implementing Classes:
    AbstractIdentityProviderFactory, FacebookIdentityProviderFactory, GitHubIdentityProviderFactory, GoogleIdentityProviderFactory, KeycloakOIDCIdentityProviderFactory, LinkedInIdentityProviderFactory, MicrosoftIdentityProviderFactory, OIDCIdentityProviderFactory, SAMLIdentityProviderFactory, StackoverflowIdentityProviderFactory, TwitterIdentityProviderFactory

      public interface IdentityProviderFactory<T extends IdentityProvider>
      extends ProviderFactory<T>

  Author:
    Pedro Igor

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `T` | `create(IdentityProviderModel model)` Creates an `IdentityProvider` based on the configuration contained in `model`.
    `String` | `getName()` A friendly name for this factory.
    `Map<String,String>` | `parseConfig(InputStream inputStream)` Creates an `IdentityProvider` based on the configuration from `inputStream`.

    - ### Methods inherited from interface org.keycloak.provider.ProviderFactory

      `close, create, getId, init, postInit`

- - ### Method Detail

    - #### getName

          String getName()

      A friendly name for this factory.

      Returns:

    - #### create

          T create(IdentityProviderModel model)

      Creates an `IdentityProvider` based on the configuration contained in `model`.

      Parameters:
        `model` - The configuration to be used to create the identity provider.
      Returns:

    - #### parseConfig

          Map<String,String> parseConfig(InputStream inputStream)

      Creates an `IdentityProvider` based on the configuration from `inputStream`.

      Parameters:
        `inputStream` - The input stream from where configuration will be loaded from..
      Returns:

Copyright © 2016 JBoss by Red Hat. All rights reserved.