NAME

Twilio::Rest::Oauth::V1::Authorize - The Authorize resource

SYNOPSIS

my $client = Twilio::Rest::Client->new($account_sid, $auth_token);

my $authorize = $client->oauth->v1->authorize->fetch;

DESCRIPTION

This file holds AuthorizeList and AuthorizeInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.

AuthorizeList

Returned by $client->oauth->v1->authorize. See also Twilio::ListResource.

fetch

my $authorize = $client->oauth->v1->authorize->fetch(\%options);

Retrieves authorize uri. Returns a AuthorizeInstance.

The options are:

client_id

The Client Identifier

redirect_uri

The url to which response will be redirected to

response_type

Response Type

scope

The scope of the access request

state

An opaque value which can be used to maintain state between the request and callback

AuthorizeInstance

See also Twilio::InstanceResource.

Its fields are:

redirect_to

The callback URL

CONSTRUCTORS

new

Objects here come from the methods above, so there is no need to call new directly.

LICENSE

Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.