Module: Telnyx::Models::OAuthClientUpdateParams::AllowedGrantType

Extended by:
Internal::Type::Enum
Defined in:
lib/telnyx/models/oauth_client_update_params.rb

Constant Summary collapse

CLIENT_CREDENTIALS =
:client_credentials
AUTHORIZATION_CODE =
:authorization_code
REFRESH_TOKEN =
:refresh_token

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

Methods included from Internal::Util::SorbetRuntimeSupport

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

Methods included from Internal::Type::Converter

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

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/telnyx/models/oauth_client_update_params.rb', line 92

Instance Method Details

#initialize(id:, allowed_grant_types: nil, allowed_scopes: nil, logo_uri: nil, name: nil, policy_uri: nil, redirect_uris: nil, require_pkce: nil, tos_uri: nil, request_options: {}) ⇒ Object

Parameters:

  • id (String)
  • allowed_grant_types (Array<Symbol, Telnyx::Models::OAuthClientUpdateParams::AllowedGrantType>) (defaults to: nil)

    List of allowed OAuth grant types

  • allowed_scopes (Array<String>) (defaults to: nil)

    List of allowed OAuth scopes

  • logo_uri (String) (defaults to: nil)

    URL of the client logo

  • name (String) (defaults to: nil)

    The name of the OAuth client

  • policy_uri (String) (defaults to: nil)

    URL of the client’s privacy policy

  • redirect_uris (Array<String>) (defaults to: nil)

    List of redirect URIs

  • require_pkce (Boolean) (defaults to: nil)

    Whether PKCE (Proof Key for Code Exchange) is required for this client

  • tos_uri (String) (defaults to: nil)

    URL of the client’s terms of service

  • request_options (Telnyx::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


85
86
87
88
89
90
91
92
93
94
# File 'lib/telnyx/models/oauth_client_update_params.rb', line 85

module AllowedGrantType
  extend Telnyx::Internal::Type::Enum

  CLIENT_CREDENTIALS = :client_credentials
  AUTHORIZATION_CODE = :authorization_code
  REFRESH_TOKEN = :refresh_token

  # @!method self.values
  #   @return [Array<Symbol>]
end