NAME

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

SYNOPSIS

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

my $authorize = $client->oauth->v2->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->v2->authorize. See also Twilio::ListResource.

fetch

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

Returns a AuthorizeInstance.

The options are:

client_id

No description in the specification.

code_challenge

No description in the specification.

code_challenge_method

Must be S256.

redirect_uri

No description in the specification.

response_type

No description in the specification.

scope

No description in the specification.

state

No description in the specification.

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.