blib/lib/Paws/ELBv2/AuthenticateCognitoActionConfig.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::ELBv2::AuthenticateCognitoActionConfig;
3 use Moose;
4 has AuthenticationRequestExtraParams => (is => 'ro', isa => 'Paws::ELBv2::AuthenticateCognitoActionAuthenticationRequestExtraParams');
5 has OnUnauthenticatedRequest => (is => 'ro', isa => 'Str');
6 has Scope => (is => 'ro', isa => 'Str');
7 has SessionCookieName => (is => 'ro', isa => 'Str');
8 has SessionTimeout => (is => 'ro', isa => 'Int');
9 has UserPoolArn => (is => 'ro', isa => 'Str', required => 1);
10 has UserPoolClientId => (is => 'ro', isa => 'Str', required => 1);
11 has UserPoolDomain => (is => 'ro', isa => 'Str', required => 1);
12  
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::ELBv2::AuthenticateCognitoActionConfig
20  
21 =head1 USAGE
22  
23 This class represents one of two things:
24  
25 =head3 Arguments in a call to a service
26  
27 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
28 Each attribute should be used as a named argument in the calls that expect this type of object.
29  
30 As an example, if Att1 is expected to be a Paws::ELBv2::AuthenticateCognitoActionConfig object:
31  
32 $service_obj->Method(Att1 => { AuthenticationRequestExtraParams => $value, ..., UserPoolDomain => $value });
33  
34 =head3 Results returned from an API call
35  
36 Use accessors for each attribute. If Att1 is expected to be an Paws::ELBv2::AuthenticateCognitoActionConfig object:
37  
38 $result = $service_obj->Method(...);
39 $result->Att1->AuthenticationRequestExtraParams
40  
41 =head1 DESCRIPTION
42  
43 Request parameters to use when integrating with Amazon Cognito to
44 authenticate users.
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 AuthenticationRequestExtraParams => L<Paws::ELBv2::AuthenticateCognitoActionAuthenticationRequestExtraParams>
50  
51 The query parameters (up to 10) to include in the redirect request to
52 the authorization endpoint.
53  
54  
55 =head2 OnUnauthenticatedRequest => Str
56  
57 The behavior if the user is not authenticated. The following are
58 possible values:
59  
60 =over
61  
62 =item *
63  
64 denyC< - Return an HTTP 401 Unauthorized error.>
65  
66 =item *
67  
68 allowC< - Allow the request to be forwarded to the target.>
69  
70 =item *
71  
72 authenticateC< - Redirect the request to the IdP authorization
73 endpoint. This is the default value.>
74  
75 =back
76  
77  
78  
79 =head2 Scope => Str
80  
81 The set of user claims to be requested from the IdP. The default is
82 C<openid>.
83  
84 To verify which scope values your IdP supports and how to separate
85 multiple values, see the documentation for your IdP.
86  
87  
88 =head2 SessionCookieName => Str
89  
90 The name of the cookie used to maintain session information. The
91 default is AWSELBAuthSessionCookie.
92  
93  
94 =head2 SessionTimeout => Int
95  
96 The maximum duration of the authentication session, in seconds. The
97 default is 604800 seconds (7 days).
98  
99  
100 =head2 B<REQUIRED> UserPoolArn => Str
101  
102 The Amazon Resource Name (ARN) of the Amazon Cognito user pool.
103  
104  
105 =head2 B<REQUIRED> UserPoolClientId => Str
106  
107 The ID of the Amazon Cognito user pool client.
108  
109  
110 =head2 B<REQUIRED> UserPoolDomain => Str
111  
112 The domain prefix or fully-qualified domain name of the Amazon Cognito
113 user pool.
114  
115  
116  
117 =head1 SEE ALSO
118  
119 This class forms part of L<Paws>, describing an object used in L<Paws::ELBv2>
120  
121 =head1 BUGS and CONTRIBUTIONS
122  
123 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
124  
125 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
126  
127 =cut
128