Module: Telnyx::Models::OAuthTokenParams::GrantType

Extended by:
Internal::Type::Enum
Defined in:
lib/telnyx/models/oauth_token_params.rb,
sig/telnyx/models/oauth_token_params.rbs

Overview

OAuth 2.0 grant type

Constant Summary collapse

CLIENT_CREDENTIALS =

Returns:

  • (:client_credentials)
:client_credentials
AUTHORIZATION_CODE =

Returns:

  • (:authorization_code)
:authorization_code
REFRESH_TOKEN =

Returns:

  • (: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_token_params.rb', line 85

Instance Method Details

#self?.values::Array[Telnyx::Models::OAuthTokenParams::grant_type]

Returns:

  • (::Array[Telnyx::Models::OAuthTokenParams::grant_type])


84
# File 'sig/telnyx/models/oauth_token_params.rbs', line 84

def self?.values: -> ::Array[Telnyx::Models::OAuthTokenParams::grant_type]