Class: Privy::Models::OAuthTokens
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(access_token:, provider:, access_token_expires_in_seconds: nil, refresh_token: nil, refresh_token_expires_in_seconds: nil, scopes: nil) ⇒ Object
OAuth tokens associated with the user.
|
# File 'lib/privy/models/oauth_tokens.rb', line 36
|
Instance Attribute Details
#access_token ⇒ String
9
|
# File 'lib/privy/models/oauth_tokens.rb', line 9
required :access_token, String
|
#access_token_expires_in_seconds ⇒ Float?
19
|
# File 'lib/privy/models/oauth_tokens.rb', line 19
optional :access_token_expires_in_seconds, Float
|
#provider ⇒ String
14
|
# File 'lib/privy/models/oauth_tokens.rb', line 14
required :provider, String
|
#refresh_token ⇒ String?
24
|
# File 'lib/privy/models/oauth_tokens.rb', line 24
optional :refresh_token, String
|
#refresh_token_expires_in_seconds ⇒ Float?
29
|
# File 'lib/privy/models/oauth_tokens.rb', line 29
optional :refresh_token_expires_in_seconds, Float
|