Class: Telnyx::Models::OAuthRetrieveAuthorizeParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::OAuthRetrieveAuthorizeParams
- 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
-
#client_id ⇒ String
OAuth client identifier.
-
#code_challenge ⇒ String?
PKCE code challenge.
-
#code_challenge_method ⇒ Symbol, ...
PKCE code challenge method.
-
#redirect_uri ⇒ String
Redirect URI.
-
#response_type ⇒ Symbol, Telnyx::Models::OAuthRetrieveAuthorizeParams::ResponseType
OAuth response type.
-
#scope ⇒ String?
Space-separated list of requested scopes.
-
#state ⇒ String?
State parameter for CSRF protection.
Attributes included from Internal::Type::RequestParameters
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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
|
|
# File 'lib/telnyx/models/oauth_retrieve_authorize_params.rb', line 52
|
Instance Attribute Details
#client_id ⇒ String
OAuth client identifier
14 |
# File 'lib/telnyx/models/oauth_retrieve_authorize_params.rb', line 14 required :client_id, String |
#code_challenge ⇒ String?
PKCE code challenge
32 |
# File 'lib/telnyx/models/oauth_retrieve_authorize_params.rb', line 32 optional :code_challenge, String |
#code_challenge_method ⇒ Symbol, ...
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_uri ⇒ String
Redirect URI
20 |
# File 'lib/telnyx/models/oauth_retrieve_authorize_params.rb', line 20 required :redirect_uri, String |
#response_type ⇒ Symbol, 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 } |
#scope ⇒ String?
Space-separated list of requested scopes
44 |
# File 'lib/telnyx/models/oauth_retrieve_authorize_params.rb', line 44 optional :scope, String |
#state ⇒ String?
State parameter for CSRF protection
50 |
# File 'lib/telnyx/models/oauth_retrieve_authorize_params.rb', line 50 optional :state, String |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/telnyx/models/oauth_retrieve_authorize_params.rb', line 75
|