| 1 | |||
| 2 | package Paws::SSOOidc::StartDeviceAuthorizationResponse; | ||
| 3 | use Moose; | ||
| 4 | has DeviceCode => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'deviceCode'); | ||
| 5 | has ExpiresIn => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'expiresIn'); | ||
| 6 | has Interval => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'interval'); | ||
| 7 | has UserCode => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'userCode'); | ||
| 8 | has VerificationUri => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'verificationUri'); | ||
| 9 | has VerificationUriComplete => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'verificationUriComplete'); | ||
| 10 | |||
| 11 | has _request_id => (is => 'ro', isa => 'Str'); | ||
| 12 | 1; | ||
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::SSOOidc::StartDeviceAuthorizationResponse | ||
| 19 | |||
| 20 | =head1 ATTRIBUTES | ||
| 21 | |||
| 22 | |||
| 23 | =head2 DeviceCode => Str | ||
| 24 | |||
| 25 | The short-lived code that is used by the device when polling for a | ||
| 26 | session token. | ||
| 27 | |||
| 28 | |||
| 29 | =head2 ExpiresIn => Int | ||
| 30 | |||
| 31 | Indicates the number of seconds in which the verification code will | ||
| 32 | become invalid. | ||
| 33 | |||
| 34 | |||
| 35 | =head2 Interval => Int | ||
| 36 | |||
| 37 | Indicates the number of seconds the client must wait between attempts | ||
| 38 | when polling for a session. | ||
| 39 | |||
| 40 | |||
| 41 | =head2 UserCode => Str | ||
| 42 | |||
| 43 | A one-time user verification code. This is needed to authorize an | ||
| 44 | in-use device. | ||
| 45 | |||
| 46 | |||
| 47 | =head2 VerificationUri => Str | ||
| 48 | |||
| 49 | The URI of the verification page that takes the C<userCode> to | ||
| 50 | authorize the device. | ||
| 51 | |||
| 52 | |||
| 53 | =head2 VerificationUriComplete => Str | ||
| 54 | |||
| 55 | An alternate URL that the client can use to automatically launch a | ||
| 56 | browser. This process skips the manual step in which the user visits | ||
| 57 | the verification page and enters their code. | ||
| 58 | |||
| 59 | |||
| 60 | =head2 _request_id => Str | ||
| 61 | |||
| 62 | |||
| 63 | =cut | ||
| 64 |