Class: Telnyx::Models::OAuthClient
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::OAuthClient
- Defined in:
- lib/telnyx/models/oauth_client.rb
Overview
Defined Under Namespace
Modules: AllowedGrantType, ClientType, RecordType
Instance Attribute Summary collapse
-
#allowed_grant_types ⇒ Array<Symbol, Telnyx::Models::OAuthClient::AllowedGrantType>?
List of allowed OAuth grant types.
-
#allowed_scopes ⇒ Array<String>?
List of allowed OAuth scopes.
-
#client_id ⇒ String
OAuth client identifier.
-
#client_secret ⇒ String?
Client secret (only included when available, for confidential clients).
-
#client_type ⇒ Symbol, Telnyx::Models::OAuthClient::ClientType
OAuth client type.
-
#created_at ⇒ Time
Timestamp when the client was created.
-
#logo_uri ⇒ String?
URL of the client logo.
-
#name ⇒ String
Human-readable name for the OAuth client.
-
#org_id ⇒ String
Organization ID that owns this OAuth client.
-
#policy_uri ⇒ String?
URL of the client’s privacy policy.
-
#record_type ⇒ Symbol, Telnyx::Models::OAuthClient::RecordType
Record type identifier.
-
#redirect_uris ⇒ Array<String>?
List of allowed redirect URIs.
-
#require_pkce ⇒ Boolean
Whether PKCE (Proof Key for Code Exchange) is required for this client.
-
#tos_uri ⇒ String?
URL of the client’s terms of service.
-
#updated_at ⇒ Time
Timestamp when the client was last updated.
-
#user_id ⇒ String
User ID that created this OAuth client.
Class Method Summary collapse
Instance Method Summary collapse
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:, client_type:, created_at:, name:, org_id:, record_type:, require_pkce:, updated_at:, user_id:, allowed_grant_types: nil, allowed_scopes: nil, client_secret: nil, logo_uri: nil, policy_uri: nil, redirect_uris: nil, tos_uri: nil) ⇒ Object
|
|
# File 'lib/telnyx/models/oauth_client.rb', line 104
|
Instance Attribute Details
#allowed_grant_types ⇒ Array<Symbol, Telnyx::Models::OAuthClient::AllowedGrantType>?
List of allowed OAuth grant types
65 66 |
# File 'lib/telnyx/models/oauth_client.rb', line 65 optional :allowed_grant_types, -> { Telnyx::Internal::Type::ArrayOf[enum: Telnyx::OAuthClient::AllowedGrantType] } |
#allowed_scopes ⇒ Array<String>?
List of allowed OAuth scopes
72 |
# File 'lib/telnyx/models/oauth_client.rb', line 72 optional :allowed_scopes, Telnyx::Internal::Type::ArrayOf[String] |
#client_id ⇒ String
OAuth client identifier
11 |
# File 'lib/telnyx/models/oauth_client.rb', line 11 required :client_id, String |
#client_secret ⇒ String?
Client secret (only included when available, for confidential clients)
78 |
# File 'lib/telnyx/models/oauth_client.rb', line 78 optional :client_secret, String, nil?: true |
#client_type ⇒ Symbol, Telnyx::Models::OAuthClient::ClientType
OAuth client type
17 |
# File 'lib/telnyx/models/oauth_client.rb', line 17 required :client_type, enum: -> { Telnyx::OAuthClient::ClientType } |
#created_at ⇒ Time
Timestamp when the client was created
23 |
# File 'lib/telnyx/models/oauth_client.rb', line 23 required :created_at, Time |
#logo_uri ⇒ String?
URL of the client logo
84 |
# File 'lib/telnyx/models/oauth_client.rb', line 84 optional :logo_uri, String, nil?: true |
#name ⇒ String
Human-readable name for the OAuth client
29 |
# File 'lib/telnyx/models/oauth_client.rb', line 29 required :name, String |
#org_id ⇒ String
Organization ID that owns this OAuth client
35 |
# File 'lib/telnyx/models/oauth_client.rb', line 35 required :org_id, String |
#policy_uri ⇒ String?
URL of the client’s privacy policy
90 |
# File 'lib/telnyx/models/oauth_client.rb', line 90 optional :policy_uri, String, nil?: true |
#record_type ⇒ Symbol, Telnyx::Models::OAuthClient::RecordType
Record type identifier
41 |
# File 'lib/telnyx/models/oauth_client.rb', line 41 required :record_type, enum: -> { Telnyx::OAuthClient::RecordType } |
#redirect_uris ⇒ Array<String>?
List of allowed redirect URIs
96 |
# File 'lib/telnyx/models/oauth_client.rb', line 96 optional :redirect_uris, Telnyx::Internal::Type::ArrayOf[String] |
#require_pkce ⇒ Boolean
Whether PKCE (Proof Key for Code Exchange) is required for this client
47 |
# File 'lib/telnyx/models/oauth_client.rb', line 47 required :require_pkce, Telnyx::Internal::Type::Boolean |
#tos_uri ⇒ String?
URL of the client’s terms of service
102 |
# File 'lib/telnyx/models/oauth_client.rb', line 102 optional :tos_uri, String, nil?: true |
#updated_at ⇒ Time
Timestamp when the client was last updated
53 |
# File 'lib/telnyx/models/oauth_client.rb', line 53 required :updated_at, Time |
#user_id ⇒ String
User ID that created this OAuth client
59 |
# File 'lib/telnyx/models/oauth_client.rb', line 59 required :user_id, String |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/telnyx/models/oauth_client.rb', line 146
|