Class CfnConnection.OAuthParametersProperty
Contains the OAuth authorization parameters to use for the connection.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.AWS.Events.dll
Syntax (csharp)
public class OAuthParametersProperty : Object, CfnConnection.IOAuthParametersProperty
Syntax (vb)
Public Class OAuthParametersProperty
Inherits Object
Implements CfnConnection.IOAuthParametersProperty
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.Events;
var oAuthParametersProperty = new OAuthParametersProperty {
AuthorizationEndpoint = "authorizationEndpoint",
ClientParameters = new ClientParametersProperty {
ClientId = "clientId",
ClientSecret = "clientSecret"
},
HttpMethod = "httpMethod",
// the properties below are optional
OAuthHttpParameters = new ConnectionHttpParametersProperty {
BodyParameters = new [] { new ParameterProperty {
Key = "key",
Value = "value",
// the properties below are optional
IsValueSecret = false
} },
HeaderParameters = new [] { new ParameterProperty {
Key = "key",
Value = "value",
// the properties below are optional
IsValueSecret = false
} },
QueryStringParameters = new [] { new ParameterProperty {
Key = "key",
Value = "value",
// the properties below are optional
IsValueSecret = false
} }
}
};
Synopsis
Constructors
OAuthParametersProperty() |
Properties
AuthorizationEndpoint | The URL to the authorization endpoint when OAuth is specified as the authorization type. |
ClientParameters | A |
HttpMethod | The method to use for the authorization request. |
OAuthHttpParameters | A |
Constructors
OAuthParametersProperty()
public OAuthParametersProperty()
Properties
AuthorizationEndpoint
The URL to the authorization endpoint when OAuth is specified as the authorization type.
public string AuthorizationEndpoint { get; set; }
Property Value
System.String
Remarks
ClientParameters
A CreateConnectionOAuthClientRequestParameters
object that contains the client parameters for OAuth authorization.
public object ClientParameters { get; set; }
Property Value
System.Object
Remarks
HttpMethod
The method to use for the authorization request.
public string HttpMethod { get; set; }
Property Value
System.String
Remarks
OAuthHttpParameters
A ConnectionHttpParameters
object that contains details about the additional parameters to use for the connection.
public object OAuthHttpParameters { get; set; }
Property Value
System.Object