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

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 16 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::AuthenticateOidcActionConfig;
3 use Moose;
4 has AuthenticationRequestExtraParams => (is => 'ro', isa => 'Paws::ELBv2::AuthenticateOidcActionAuthenticationRequestExtraParams');
5 has AuthorizationEndpoint => (is => 'ro', isa => 'Str', required => 1);
6 has ClientId => (is => 'ro', isa => 'Str', required => 1);
7 has ClientSecret => (is => 'ro', isa => 'Str');
8 has Issuer => (is => 'ro', isa => 'Str', required => 1);
9 has OnUnauthenticatedRequest => (is => 'ro', isa => 'Str');
10 has Scope => (is => 'ro', isa => 'Str');
11 has SessionCookieName => (is => 'ro', isa => 'Str');
12 has SessionTimeout => (is => 'ro', isa => 'Int');
13 has TokenEndpoint => (is => 'ro', isa => 'Str', required => 1);
14 has UseExistingClientSecret => (is => 'ro', isa => 'Bool');
15 has UserInfoEndpoint => (is => 'ro', isa => 'Str', required => 1);
16  
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::ELBv2::AuthenticateOidcActionConfig
24  
25 =head1 USAGE
26  
27 This class represents one of two things:
28  
29 =head3 Arguments in a call to a service
30  
31 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
32 Each attribute should be used as a named argument in the calls that expect this type of object.
33  
34 As an example, if Att1 is expected to be a Paws::ELBv2::AuthenticateOidcActionConfig object:
35  
36 $service_obj->Method(Att1 => { AuthenticationRequestExtraParams => $value, ..., UserInfoEndpoint => $value });
37  
38 =head3 Results returned from an API call
39  
40 Use accessors for each attribute. If Att1 is expected to be an Paws::ELBv2::AuthenticateOidcActionConfig object:
41  
42 $result = $service_obj->Method(...);
43 $result->Att1->AuthenticationRequestExtraParams
44  
45 =head1 DESCRIPTION
46  
47 Request parameters when using an identity provider (IdP) that is
48 compliant with OpenID Connect (OIDC) to authenticate users.
49  
50 =head1 ATTRIBUTES
51  
52  
53 =head2 AuthenticationRequestExtraParams => L<Paws::ELBv2::AuthenticateOidcActionAuthenticationRequestExtraParams>
54  
55 The query parameters (up to 10) to include in the redirect request to
56 the authorization endpoint.
57  
58  
59 =head2 B<REQUIRED> AuthorizationEndpoint => Str
60  
61 The authorization endpoint of the IdP. This must be a full URL,
62 including the HTTPS protocol, the domain, and the path.
63  
64  
65 =head2 B<REQUIRED> ClientId => Str
66  
67 The OAuth 2.0 client identifier.
68  
69  
70 =head2 ClientSecret => Str
71  
72 The OAuth 2.0 client secret. This parameter is required if you are
73 creating a rule. If you are modifying a rule, you can omit this
74 parameter if you set C<UseExistingClientSecret> to true.
75  
76  
77 =head2 B<REQUIRED> Issuer => Str
78  
79 The OIDC issuer identifier of the IdP. This must be a full URL,
80 including the HTTPS protocol, the domain, and the path.
81  
82  
83 =head2 OnUnauthenticatedRequest => Str
84  
85 The behavior if the user is not authenticated. The following are
86 possible values:
87  
88 =over
89  
90 =item *
91  
92 denyC< - Return an HTTP 401 Unauthorized error.>
93  
94 =item *
95  
96 allowC< - Allow the request to be forwarded to the target.>
97  
98 =item *
99  
100 authenticateC< - Redirect the request to the IdP authorization
101 endpoint. This is the default value.>
102  
103 =back
104  
105  
106  
107 =head2 Scope => Str
108  
109 The set of user claims to be requested from the IdP. The default is
110 C<openid>.
111  
112 To verify which scope values your IdP supports and how to separate
113 multiple values, see the documentation for your IdP.
114  
115  
116 =head2 SessionCookieName => Str
117  
118 The name of the cookie used to maintain session information. The
119 default is AWSELBAuthSessionCookie.
120  
121  
122 =head2 SessionTimeout => Int
123  
124 The maximum duration of the authentication session, in seconds. The
125 default is 604800 seconds (7 days).
126  
127  
128 =head2 B<REQUIRED> TokenEndpoint => Str
129  
130 The token endpoint of the IdP. This must be a full URL, including the
131 HTTPS protocol, the domain, and the path.
132  
133  
134 =head2 UseExistingClientSecret => Bool
135  
136 Indicates whether to use the existing client secret when modifying a
137 rule. If you are creating a rule, you can omit this parameter or set it
138 to false.
139  
140  
141 =head2 B<REQUIRED> UserInfoEndpoint => Str
142  
143 The user info endpoint of the IdP. This must be a full URL, including
144 the HTTPS protocol, the domain, and the path.
145  
146  
147  
148 =head1 SEE ALSO
149  
150 This class forms part of L<Paws>, describing an object used in L<Paws::ELBv2>
151  
152 =head1 BUGS and CONTRIBUTIONS
153  
154 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
155  
156 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
157  
158 =cut
159