Class OpenIdConnectTokenAuthenticationConfig
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.containerengine.model.OpenIdConnectTokenAuthenticationConfig
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20180222") public final class OpenIdConnectTokenAuthenticationConfig extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe properties that configure OIDC token authentication in kube-apiserver.For more information, see Configuring the API Server. 
 Note: Objects should always be created or deserialized using theOpenIdConnectTokenAuthenticationConfig.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theOpenIdConnectTokenAuthenticationConfig.Builder, which maintain a set of all explicitly set fields calledOpenIdConnectTokenAuthenticationConfig.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classOpenIdConnectTokenAuthenticationConfig.Builder
 - 
Constructor SummaryConstructors Constructor Description OpenIdConnectTokenAuthenticationConfig(String issuerUrl, String clientId, String usernameClaim, String usernamePrefix, String groupsClaim, String groupsPrefix, List<KeyValue> requiredClaims, String caCertificate, List<String> signingAlgorithms, Boolean isOpenIdConnectAuthEnabled, String configurationFile)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OpenIdConnectTokenAuthenticationConfig.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCaCertificate()A Base64 encoded public RSA or ECDSA certificates used to signed your identity provider’s web certificate.StringgetClientId()A client id that all tokens must be issued for.StringgetConfigurationFile()A Base64 encoded string of a Kubernetes OIDC Auth Config file.StringgetGroupsClaim()JWT claim to use as the user’s group.StringgetGroupsPrefix()Prefix prepended to group claims to prevent clashes with existing names (such as system:groups).BooleangetIsOpenIdConnectAuthEnabled()Whether the cluster has OIDC Auth Config enabled.StringgetIssuerUrl()URL of the provider that allows the API server to discover public signing keys.List<KeyValue>getRequiredClaims()A key=value pair that describes a required claim in the ID Token.List<String>getSigningAlgorithms()The signing algorithms accepted.StringgetUsernameClaim()JWT claim to use as the user name.StringgetUsernamePrefix()Prefix prepended to username claims to prevent clashes with existing names (such as system:users).inthashCode()OpenIdConnectTokenAuthenticationConfig.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
OpenIdConnectTokenAuthenticationConfig@Deprecated @ConstructorProperties({"issuerUrl","clientId","usernameClaim","usernamePrefix","groupsClaim","groupsPrefix","requiredClaims","caCertificate","signingAlgorithms","isOpenIdConnectAuthEnabled","configurationFile"}) public OpenIdConnectTokenAuthenticationConfig(String issuerUrl, String clientId, String usernameClaim, String usernamePrefix, String groupsClaim, String groupsPrefix, List<KeyValue> requiredClaims, String caCertificate, List<String> signingAlgorithms, Boolean isOpenIdConnectAuthEnabled, String configurationFile) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static OpenIdConnectTokenAuthenticationConfig.Builder builder() Create a new builder.
 - 
toBuilderpublic OpenIdConnectTokenAuthenticationConfig.Builder toBuilder() 
 - 
getIssuerUrlpublic String getIssuerUrl() URL of the provider that allows the API server to discover public signing keys.Only URLs that use the https:// scheme are accepted. This is typically the provider’s discovery URL, changed to have an empty path. - Returns:
- the value
 
 - 
getClientIdpublic String getClientId() A client id that all tokens must be issued for.- Returns:
- the value
 
 - 
getUsernameClaimpublic String getUsernameClaim() JWT claim to use as the user name.By default sub, which is expected to be a unique identifier of the end user. Admins can choose other claims, such as email or name, depending on their provider. However, claims other than email will be prefixed with the issuer URL to prevent naming clashes with other plugins. - Returns:
- the value
 
 - 
getUsernamePrefixpublic String getUsernamePrefix() Prefix prepended to username claims to prevent clashes with existing names (such as system:users).For example, the value oidc: will create usernames like oidc:jane.doe. If this flag isn’t provided and –oidc-username-claim is a value other than email the prefix defaults to ( Issuer URL )# where ( Issuer URL ) is the value of –oidc-issuer-url. The value - can be used to disable all prefixing. - Returns:
- the value
 
 - 
getGroupsClaimpublic String getGroupsClaim() JWT claim to use as the user’s group.If the claim is present it must be an array of strings. - Returns:
- the value
 
 - 
getGroupsPrefixpublic String getGroupsPrefix() Prefix prepended to group claims to prevent clashes with existing names (such as system:groups).- Returns:
- the value
 
 - 
getRequiredClaimspublic List<KeyValue> getRequiredClaims() A key=value pair that describes a required claim in the ID Token.If set, the claim is verified to be present in the ID Token with a matching value. Repeat this flag to specify multiple claims. - Returns:
- the value
 
 - 
getCaCertificatepublic String getCaCertificate() A Base64 encoded public RSA or ECDSA certificates used to signed your identity provider’s web certificate.- Returns:
- the value
 
 - 
getSigningAlgorithmspublic List<String> getSigningAlgorithms() The signing algorithms accepted.Default is [“RS256”]. - Returns:
- the value
 
 - 
getIsOpenIdConnectAuthEnabledpublic Boolean getIsOpenIdConnectAuthEnabled() Whether the cluster has OIDC Auth Config enabled.Defaults to false. - Returns:
- the value
 
 - 
getConfigurationFilepublic String getConfigurationFile() A Base64 encoded string of a Kubernetes OIDC Auth Config file.More info here - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-