Class: Telnyx::Models::OAuthRetrieveAuthorizeParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/telnyx/models/oauth_retrieve_authorize_params.rb

Overview

Defined Under Namespace

Modules: CodeChallengeMethod, ResponseType

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(client_id:, redirect_uri:, response_type:, code_challenge: nil, code_challenge_method: nil, scope: nil, state: nil, request_options: {}) ⇒ Object

Parameters:



# File 'lib/telnyx/models/oauth_retrieve_authorize_params.rb', line 52

Instance Attribute Details

#client_idString

OAuth client identifier

Returns:

  • (String)


14
# File 'lib/telnyx/models/oauth_retrieve_authorize_params.rb', line 14

required :client_id, String

#code_challengeString?

PKCE code challenge

Returns:

  • (String, nil)


32
# File 'lib/telnyx/models/oauth_retrieve_authorize_params.rb', line 32

optional :code_challenge, String

#code_challenge_methodSymbol, ...

PKCE code challenge method



38
# File 'lib/telnyx/models/oauth_retrieve_authorize_params.rb', line 38

optional :code_challenge_method, enum: -> { Telnyx::OAuthRetrieveAuthorizeParams::CodeChallengeMethod }

#redirect_uriString

Redirect URI

Returns:

  • (String)


20
# File 'lib/telnyx/models/oauth_retrieve_authorize_params.rb', line 20

required :redirect_uri, String

#response_typeSymbol, Telnyx::Models::OAuthRetrieveAuthorizeParams::ResponseType

OAuth response type



26
# File 'lib/telnyx/models/oauth_retrieve_authorize_params.rb', line 26

required :response_type, enum: -> { Telnyx::OAuthRetrieveAuthorizeParams::ResponseType }

#scopeString?

Space-separated list of requested scopes

Returns:

  • (String, nil)


44
# File 'lib/telnyx/models/oauth_retrieve_authorize_params.rb', line 44

optional :scope, String

#stateString?

State parameter for CSRF protection

Returns:

  • (String, nil)


50
# File 'lib/telnyx/models/oauth_retrieve_authorize_params.rb', line 50

optional :state, String

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/telnyx/models/oauth_retrieve_authorize_params.rb', line 75