Interface CfnGraphQLApi.IOpenIDConnectConfigProperty
The OpenIDConnectConfig
property type specifies the optional authorization configuration for using an OpenID Connect compliant service with your GraphQL endpoint for an AWS AppSync GraphQL API.
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.AWS.AppSync.dll
Syntax (csharp)
public interface IOpenIDConnectConfigProperty
Syntax (vb)
Public Interface IOpenIDConnectConfigProperty
Remarks
OpenIDConnectConfig
is a property of the AWS::AppSync::GraphQLApi property type.
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 {
AuthTtl = 123,
ClientId = "clientId",
IatTtl = 123,
Issuer = "issuer"
};
Synopsis
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. |
Properties
AuthTtl
The number of milliseconds that a token is valid after being authenticated.
virtual Nullable<double> AuthTtl { get; }
Property Value
System.Nullable<System.Double>
Remarks
ClientId
The client identifier of the Relying party at the OpenID identity provider.
virtual string ClientId { get; }
Property Value
System.String
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.
virtual Nullable<double> IatTtl { get; }
Property Value
System.Nullable<System.Double>
Remarks
Issuer
The issuer for the OIDC configuration.
virtual string Issuer { get; }
Property Value
System.String
Remarks
The issuer returned by discovery must exactly match the value of iss
in the ID token.