public class DefaultIdentityProviderBuilder<T extends IdentityProviderBuilder> extends Object implements IdentityProviderBuilder<T>
Modifier and Type | Field and Description |
---|---|
protected String |
clientId |
protected String |
clientSecret |
protected Boolean |
isProfileMaster |
protected PolicySubjectMatchType |
matchType |
protected Integer |
maxClockSkew |
protected String |
name |
protected List<String> |
scopes |
protected String |
userName |
Constructor and Description |
---|
DefaultIdentityProviderBuilder() |
Modifier and Type | Method and Description |
---|---|
IdentityProvider |
buildAndCreate(Client client) |
T |
isProfileMaster(Boolean isProfileMaster) |
protected T |
self() |
T |
setClientId(String clientId) |
T |
setClientSecret(String clientSecret) |
T |
setIsProfileMaster(Boolean isProfileMaster) |
T |
setMatchType(PolicySubjectMatchType matchType) |
T |
setMaxClockSkew(Integer maxClockSkew) |
T |
setName(String name) |
T |
setScopes(List<String> scopes) |
T |
setUserName(String userName) |
protected String name
protected String clientId
protected String clientSecret
protected Integer maxClockSkew
protected String userName
protected PolicySubjectMatchType matchType
protected Boolean isProfileMaster
public T setName(String name)
setName
in interface IdentityProviderBuilder<T extends IdentityProviderBuilder>
public T setClientId(String clientId)
setClientId
in interface IdentityProviderBuilder<T extends IdentityProviderBuilder>
public T setClientSecret(String clientSecret)
setClientSecret
in interface IdentityProviderBuilder<T extends IdentityProviderBuilder>
public T setScopes(List<String> scopes)
setScopes
in interface IdentityProviderBuilder<T extends IdentityProviderBuilder>
public T setMaxClockSkew(Integer maxClockSkew)
setMaxClockSkew
in interface IdentityProviderBuilder<T extends IdentityProviderBuilder>
public T setUserName(String userName)
setUserName
in interface IdentityProviderBuilder<T extends IdentityProviderBuilder>
public T setMatchType(PolicySubjectMatchType matchType)
setMatchType
in interface IdentityProviderBuilder<T extends IdentityProviderBuilder>
public T setIsProfileMaster(Boolean isProfileMaster)
setIsProfileMaster
in interface IdentityProviderBuilder<T extends IdentityProviderBuilder>
public T isProfileMaster(Boolean isProfileMaster)
isProfileMaster
in interface IdentityProviderBuilder<T extends IdentityProviderBuilder>
public IdentityProvider buildAndCreate(Client client)
buildAndCreate
in interface IdentityProviderBuilder<T extends IdentityProviderBuilder>
protected T self()
Copyright © 2017–2023 Okta. All rights reserved.