class

Twilio::TokensApi

Inherits Reference / Object

Constants

CREATE_TOKEN_MAX_LENGTH_FOR_ACCOUNT_SID = 34
CREATE_TOKEN_MIN_LENGTH_FOR_ACCOUNT_SID = 34
CREATE_TOKEN_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/

Constructors

new(api_client : Twilio::ApiClient = ApiClient.default)
Source

Instance methods

account_sid
Source
account_sid=(account_sid : String)
Source
api_client
Source
api_client=(api_client : ApiClient)
Source
build_api_request_for_create_token(*, account_sid : String | Nil = @account_sid, ttl : Int32 | Nil = nil) : Crest::Request

@return Crest::Request

Source
client_side_validation?(*args, **options)
Source
client_side_validation?(*args, **options, &)
Source
create_token(*, account_sid : String | Nil = @account_sid, ttl : Int32 | Nil = nil) : Twilio::Token

Create a new token for ICE servers @required @param account_sid [String?] The SID of the Account that will create the resource. @optional @param ttl [Int32?] The duration in seconds for which the generated credentials are valid. The default value is 86400 (24 hours). @return [Twilio::Token]

Source
create_token(*, account_sid : String | Nil = @account_sid, ttl : Int32 | Nil = nil, &block : Crest::Response -> ) : Nil

Create a new token for ICE servers @required @param account_sid [String?] The SID of the Account that will create the resource. @optional @param ttl [Int32?] The duration in seconds for which the generated credentials are valid. The default value is 86400 (24 hours). @return nil

Source
create_token_with_http_info(*, account_sid : String | Nil = @account_sid, ttl : Int32 | Nil = nil) : Tuple(Twilio::Token, Int32, Hash(String, Array(String) | String))

Create a new token for ICE servers @required @param account_sid [String?] The SID of the Account that will create the resource. @optional @param ttl [Int32?] The duration in seconds for which the generated credentials are valid. The default value is 86400 (24 hours). @return [Tuple(Twilio::Token, Integer, Hash)] Twilio::Token, response status code and response headers

Source
debugging?(*args, **options)
Source
debugging?(*args, **options, &)
Source