Show / Hide Table of Contents

Class FromOauthIdentityOptions

(experimental) OAuth scopes (and optional custom parameters) when binding an {@link IOAuth2CredentialProvider} to a gateway target.

Inheritance
object
FromOauthIdentityOptions
Implements
IFromOauthIdentityOptions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Bedrock.Agentcore.Alpha
Assembly: Amazon.CDK.AWS.Bedrock.Agentcore.Alpha.dll
Syntax (csharp)
public class FromOauthIdentityOptions : IFromOauthIdentityOptions
Syntax (vb)
Public Class FromOauthIdentityOptions Implements IFromOauthIdentityOptions
Remarks

Stability: Experimental

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.Bedrock.Agentcore.Alpha;

             var fromOauthIdentityOptions = new FromOauthIdentityOptions {
                 Scopes = new [] { "scopes" },

                 // the properties below are optional
                 CustomParameters = new Dictionary<string, string> {
                     { "customParametersKey", "customParameters" }
                 }
             };

Synopsis

Constructors

FromOauthIdentityOptions()

(experimental) OAuth scopes (and optional custom parameters) when binding an {@link IOAuth2CredentialProvider} to a gateway target.

Properties

CustomParameters

(experimental) Additional OAuth parameters for the provider.

Scopes

(experimental) OAuth scopes the gateway should request for this target.

Constructors

FromOauthIdentityOptions()

(experimental) OAuth scopes (and optional custom parameters) when binding an {@link IOAuth2CredentialProvider} to a gateway target.

public FromOauthIdentityOptions()
Remarks

Stability: Experimental

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.Bedrock.Agentcore.Alpha;

             var fromOauthIdentityOptions = new FromOauthIdentityOptions {
                 Scopes = new [] { "scopes" },

                 // the properties below are optional
                 CustomParameters = new Dictionary<string, string> {
                     { "customParametersKey", "customParameters" }
                 }
             };

Properties

CustomParameters

(experimental) Additional OAuth parameters for the provider.

public IDictionary<string, string>? CustomParameters { get; set; }
Property Value

IDictionary<string, string>

Remarks

Default: - none

Stability: Experimental

Scopes

(experimental) OAuth scopes the gateway should request for this target.

public string[] Scopes { get; set; }
Property Value

string[]

Remarks

Stability: Experimental

Implements

IFromOauthIdentityOptions
Back to top Generated by DocFX