Package odata.msgraph.client.beta.entity
Class OpenIdConnectProvider
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.IdentityProvider
-
- odata.msgraph.client.beta.entity.OpenIdConnectProvider
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class OpenIdConnectProvider extends IdentityProvider implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Core.V1.Revisions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOpenIdConnectProvider.Builder
-
Field Summary
Fields Modifier and Type Field Description protected ClaimsMappingclaimsMappingprotected StringdomainHintprotected StringmetadataUrlprotected OpenIdConnectResponseModeresponseModeprotected OpenIdConnectResponseTypesresponseTypeprotected Stringscope-
Fields inherited from class odata.msgraph.client.beta.entity.IdentityProvider
clientId, clientSecret, name, type
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedOpenIdConnectProvider()
-
Method Summary
-
Methods inherited from class odata.msgraph.client.beta.entity.IdentityProvider
builderIdentityProvider, getClientId, getClientSecret, getName, getType, withClientId, withClientSecret, withName, withType
-
-
-
-
Field Detail
-
claimsMapping
protected ClaimsMapping claimsMapping
-
domainHint
protected String domainHint
-
metadataUrl
protected String metadataUrl
-
responseMode
protected OpenIdConnectResponseMode responseMode
-
responseType
protected OpenIdConnectResponseTypes responseType
-
scope
protected String scope
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classIdentityProvider
-
builderOpenIdConnectProvider
public static OpenIdConnectProvider.Builder builderOpenIdConnectProvider()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classIdentityProvider
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classIdentityProvider
-
getClaimsMapping
public Optional<ClaimsMapping> getClaimsMapping()
-
withClaimsMapping
public OpenIdConnectProvider withClaimsMapping(ClaimsMapping claimsMapping)
-
withDomainHint
public OpenIdConnectProvider withDomainHint(String domainHint)
-
withMetadataUrl
public OpenIdConnectProvider withMetadataUrl(String metadataUrl)
-
getResponseMode
public Optional<OpenIdConnectResponseMode> getResponseMode()
-
withResponseMode
public OpenIdConnectProvider withResponseMode(OpenIdConnectResponseMode responseMode)
-
getResponseType
public Optional<OpenIdConnectResponseTypes> getResponseType()
-
withResponseType
public OpenIdConnectProvider withResponseType(OpenIdConnectResponseTypes responseType)
-
withScope
public OpenIdConnectProvider withScope(String scope)
-
withUnmappedField
public OpenIdConnectProvider withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classIdentityProvider
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classIdentityProvider
-
patch
public OpenIdConnectProvider patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classIdentityProvider- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public OpenIdConnectProvider put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classIdentityProvider- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classIdentityProvider
-
-