class Amazonite::EventBridge::ConnectionOAuthResponseParameters

Overview

The response parameters when OAuth is specified as the authorization type.

Included Modules

Defined in:

eventbridge/connection_o_auth_response_parameters.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(client_parameters : ConnectionOAuthClientResponseParameters | Nil = nil, authorization_endpoint : String | Nil = nil, http_method : ConnectionOAuthHttpMethod | Nil = nil, o_auth_http_parameters : ConnectionHttpParameters | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def authorization_endpoint : String | Nil #

The URL to the HTTP endpoint that authorized the request.


[View source]
def authorization_endpoint=(authorization_endpoint : String | Nil) #

The URL to the HTTP endpoint that authorized the request.


[View source]
def client_parameters : ConnectionOAuthClientResponseParameters | Nil #

Details about the client parameters returned when OAuth is specified as the authorization type.


[View source]
def client_parameters=(client_parameters : ConnectionOAuthClientResponseParameters | Nil) #

Details about the client parameters returned when OAuth is specified as the authorization type.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def http_method : ConnectionOAuthHttpMethod | Nil #

The method used to connect to the HTTP endpoint.


[View source]
def http_method=(http_method : ConnectionOAuthHttpMethod | Nil) #

The method used to connect to the HTTP endpoint.


[View source]
def o_auth_http_parameters : ConnectionHttpParameters | Nil #

The additional HTTP parameters used for the OAuth authorization request.


[View source]
def o_auth_http_parameters=(o_auth_http_parameters : ConnectionHttpParameters | Nil) #

The additional HTTP parameters used for the OAuth authorization request.


[View source]
def validate! : Nil #

[View source]