/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the ec2-2016-11-15.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.EC2.Model { /// /// Describes the options for an OpenID Connect-compatible user-identity trust provider. /// public partial class OidcOptions { private string _authorizationEndpoint; private string _clientId; private string _clientSecret; private string _issuer; private string _scope; private string _tokenEndpoint; private string _userInfoEndpoint; /// /// Gets and sets the property AuthorizationEndpoint. /// /// The OIDC authorization endpoint. /// /// public string AuthorizationEndpoint { get { return this._authorizationEndpoint; } set { this._authorizationEndpoint = value; } } // Check to see if AuthorizationEndpoint property is set internal bool IsSetAuthorizationEndpoint() { return this._authorizationEndpoint != null; } /// /// Gets and sets the property ClientId. /// /// The client identifier. /// /// public string ClientId { get { return this._clientId; } set { this._clientId = value; } } // Check to see if ClientId property is set internal bool IsSetClientId() { return this._clientId != null; } /// /// Gets and sets the property ClientSecret. /// /// The client secret. /// /// [AWSProperty(Sensitive=true)] public string ClientSecret { get { return this._clientSecret; } set { this._clientSecret = value; } } // Check to see if ClientSecret property is set internal bool IsSetClientSecret() { return this._clientSecret != null; } /// /// Gets and sets the property Issuer. /// /// The OIDC issuer. /// /// public string Issuer { get { return this._issuer; } set { this._issuer = value; } } // Check to see if Issuer property is set internal bool IsSetIssuer() { return this._issuer != null; } /// /// Gets and sets the property Scope. /// /// The OpenID Connect (OIDC) scope specified. /// /// public string Scope { get { return this._scope; } set { this._scope = value; } } // Check to see if Scope property is set internal bool IsSetScope() { return this._scope != null; } /// /// Gets and sets the property TokenEndpoint. /// /// The OIDC token endpoint. /// /// public string TokenEndpoint { get { return this._tokenEndpoint; } set { this._tokenEndpoint = value; } } // Check to see if TokenEndpoint property is set internal bool IsSetTokenEndpoint() { return this._tokenEndpoint != null; } /// /// Gets and sets the property UserInfoEndpoint. /// /// The OIDC user info endpoint. /// /// public string UserInfoEndpoint { get { return this._userInfoEndpoint; } set { this._userInfoEndpoint = value; } } // Check to see if UserInfoEndpoint property is set internal bool IsSetUserInfoEndpoint() { return this._userInfoEndpoint != null; } } }