class Twilio::TokensApi
- Twilio::TokensApi
- Reference
- Object
Defined in:
twilio/api/tokens_api.crConstant Summary
-
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
Instance Method Summary
- #account_sid : String
- #account_sid=(account_sid : String)
- #api_client : ApiClient
- #api_client=(api_client : ApiClient)
-
#build_api_request_for_create_token(*, account_sid : String | Nil = @account_sid, ttl : Int32 | Nil = nil) : Crest::Request
@return Crest::Request
- #client_side_validation?(*args, **options)
- #client_side_validation?(*args, **options, &)
-
#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.
-
#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.
-
#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.
- #debugging?(*args, **options)
- #debugging?(*args, **options, &)
Constructor Detail
Instance Method Detail
@return Crest::Request
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]
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
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