/* * 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 appsync-2017-07-25.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.AppSync.Model { /// /// Describes an OpenID Connect (OIDC) configuration. /// public partial class OpenIDConnectConfig { private long? _authttl; private string _clientId; private long? _iatttl; private string _issuer; /// /// Gets and sets the property AuthTTL. /// /// The number of milliseconds that a token is valid after being authenticated. /// /// public long AuthTTL { get { return this._authttl.GetValueOrDefault(); } set { this._authttl = value; } } // Check to see if AuthTTL property is set internal bool IsSetAuthTTL() { return this._authttl.HasValue; } /// /// Gets and sets the property ClientId. /// /// The client identifier of the relying party at the OpenID identity provider. This identifier /// is typically obtained when the relying party is registered with the OpenID identity /// provider. You can specify a regular expression so that AppSync can validate against /// multiple client identifiers at a time. /// /// 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 IatTTL. /// /// The number of milliseconds that a token is valid after it's issued to a user. /// /// public long IatTTL { get { return this._iatttl.GetValueOrDefault(); } set { this._iatttl = value; } } // Check to see if IatTTL property is set internal bool IsSetIatTTL() { return this._iatttl.HasValue; } /// /// Gets and sets the property Issuer. /// /// The issuer for the OIDC configuration. The issuer returned by discovery must exactly /// match the value of iss in the ID token. /// /// [AWSProperty(Required=true)] 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; } } }