Class: Cerca::Models::OAuthConnectResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cerca::Models::OAuthConnectResponse
- Defined in:
- lib/cerca/models/oauth_connect_response.rb
Overview
Instance Attribute Summary collapse
-
#authorization_url ⇒ String
Provider authorization URL that the client should open.
-
#callback_origin ⇒ String
Origin hosting the OAuth callback endpoint.
-
#expires_at ⇒ String?
OAuth state expiration timestamp, when returned.
-
#state_nonce ⇒ String?
OAuth state nonce, when returned.
Instance Method Summary collapse
- #initialize(authorization_url:, callback_origin:, expires_at: nil, state_nonce: nil) ⇒ Object constructor
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(authorization_url:, callback_origin:, expires_at: nil, state_nonce: nil) ⇒ Object
|
|
# File 'lib/cerca/models/oauth_connect_response.rb', line 31
|
Instance Attribute Details
#authorization_url ⇒ String
Provider authorization URL that the client should open.
11 |
# File 'lib/cerca/models/oauth_connect_response.rb', line 11 required :authorization_url, String, api_name: :authorizationUrl |
#callback_origin ⇒ String
Origin hosting the OAuth callback endpoint.
17 |
# File 'lib/cerca/models/oauth_connect_response.rb', line 17 required :callback_origin, String, api_name: :callbackOrigin |
#expires_at ⇒ String?
OAuth state expiration timestamp, when returned.
23 |
# File 'lib/cerca/models/oauth_connect_response.rb', line 23 optional :expires_at, String, api_name: :expiresAt |
#state_nonce ⇒ String?
OAuth state nonce, when returned.
29 |
# File 'lib/cerca/models/oauth_connect_response.rb', line 29 optional :state_nonce, String, api_name: :stateNonce |