Class CfnApi.OpenIDConnectConfigProperty
Describes an OpenID Connect (OIDC) configuration.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnApi.OpenIDConnectConfigProperty : CfnApi.IOpenIDConnectConfigProperty
Syntax (vb)
Public Class CfnApi.OpenIDConnectConfigProperty Implements CfnApi.IOpenIDConnectConfigProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppSync;
var openIDConnectConfigProperty = new OpenIDConnectConfigProperty {
Issuer = "issuer",
// the properties below are optional
AuthTtl = 123,
ClientId = "clientId",
IatTtl = 123
};
Synopsis
Constructors
| OpenIDConnectConfigProperty() | Describes an OpenID Connect (OIDC) configuration. |
Properties
| AuthTtl | The number of milliseconds that a token is valid after being authenticated. |
| ClientId | The client identifier of the relying party at the OpenID identity provider. |
| IatTtl | The number of milliseconds that a token is valid after it's issued to a user. |
| Issuer | The issuer for the OIDC configuration. |
Constructors
OpenIDConnectConfigProperty()
Describes an OpenID Connect (OIDC) configuration.
public OpenIDConnectConfigProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppSync;
var openIDConnectConfigProperty = new OpenIDConnectConfigProperty {
Issuer = "issuer",
// the properties below are optional
AuthTtl = 123,
ClientId = "clientId",
IatTtl = 123
};
Properties
AuthTtl
The number of milliseconds that a token is valid after being authenticated.
public double? AuthTtl { get; set; }
Property Value
Remarks
ClientId
The client identifier of the relying party at the OpenID identity provider.
public string? ClientId { get; set; }
Property Value
Remarks
This identifier is typically obtained when the relying party is registered with the OpenID identity provider. You can specify a regular expression so that AWS AppSync can validate against multiple client identifiers at a time.
IatTtl
The number of milliseconds that a token is valid after it's issued to a user.
public double? IatTtl { get; set; }
Property Value
Remarks
Issuer
The issuer for the OIDC configuration.
public string Issuer { get; set; }
Property Value
Remarks
The issuer returned by discovery must exactly match the value of iss in the ID token.