Class FromOauthIdentityOptions
(deprecated) OAuth scopes (and optional custom parameters) when binding an {@link IOAuth2CredentialProvider} to a gateway target.
Implements
Inherited Members
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: Deprecated
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() | (deprecated) OAuth scopes (and optional custom parameters) when binding an {@link IOAuth2CredentialProvider} to a gateway target. |
Properties
| CustomParameters | (deprecated) Additional OAuth parameters for the provider. |
| Scopes | (deprecated) OAuth scopes the gateway should request for this target. |
Constructors
FromOauthIdentityOptions()
(deprecated) OAuth scopes (and optional custom parameters) when binding an {@link IOAuth2CredentialProvider} to a gateway target.
public FromOauthIdentityOptions()
Remarks
Stability: Deprecated
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
(deprecated) Additional OAuth parameters for the provider.
[Obsolete]
public IDictionary<string, string>? CustomParameters { get; set; }
Property Value
Remarks
Default: - none
Stability: Deprecated
Scopes
(deprecated) OAuth scopes the gateway should request for this target.
[Obsolete]
public string[] Scopes { get; set; }
Property Value
string[]
Remarks
Stability: Deprecated