public class OIDCIdentityProviderFactory extends AbstractIdentityProviderFactory<OIDCIdentityProvider>
Modifier and Type | Field and Description |
---|---|
static String |
PROVIDER_ID |
Constructor and Description |
---|
OIDCIdentityProviderFactory() |
Modifier and Type | Method and Description |
---|---|
OIDCIdentityProvider |
create(IdentityProviderModel model)
Creates an
IdentityProvider based on the configuration contained in
model . |
String |
getId() |
String |
getName()
A friendly name for this factory.
|
protected static boolean |
keyTypeSupported(String type) |
Map<String,String> |
parseConfig(InputStream inputStream)
Creates an
IdentityProvider based on the configuration from
inputStream . |
protected static Map<String,String> |
parseOIDCConfig(InputStream inputStream) |
close, create, init, postInit
public static final String PROVIDER_ID
public String getName()
IdentityProviderFactory
A friendly name for this factory.
public OIDCIdentityProvider create(IdentityProviderModel model)
IdentityProviderFactory
Creates an IdentityProvider
based on the configuration contained in
model
.
model
- The configuration to be used to create the identity provider.public String getId()
public Map<String,String> parseConfig(InputStream inputStream)
IdentityProviderFactory
Creates an IdentityProvider
based on the configuration from
inputStream
.
parseConfig
in interface IdentityProviderFactory<OIDCIdentityProvider>
parseConfig
in class AbstractIdentityProviderFactory<OIDCIdentityProvider>
inputStream
- The input stream from where configuration will be loaded from..protected static Map<String,String> parseOIDCConfig(InputStream inputStream)
protected static boolean keyTypeSupported(String type)
Copyright © 2016 JBoss by Red Hat. All rights reserved.