Amon2-Auth-Site-LINE
view release on metacpan or search on metacpan
The "nonce" parameter is used a system for preventing replay attack
/ token interception attack on OpenID Connect. This attribute should
not be set some foreseeable fixed value.
prompt
Optional. "consent" is acceptable.
max_age
Optional. Specified on OpenID Conjnect Core 1.0.
ui_locales
Optional. Specified on OpenID Conjnect Core 1.0.
bot_prompt
Optional. "normal" and "aggressive" are acceptable.
state_session_key
Optional. "state" parameter is kept on session with this specified
session key during authentication. Default values
"line_login_state".
The `nonce` parameter is used a system for preventing replay attack / token interception attack on OpenID Connect. This attribute should not be set some foreseeable fixed value.
- prompt
Optional. `consent` is acceptable.
- max\_age
Optional. Specified on OpenID Conjnect Core 1.0.
- ui\_locales
Optional. Specified on OpenID Conjnect Core 1.0.
- bot\_prompt
Optional. `normal` and `aggressive` are acceptable.
- state\_session\_key
Optional. `state` parameter is kept on session with this specified session key during authentication.
lib/Amon2/Auth/Site/LINE.pm view on Meta::CPAN
has prompt => (
is => 'ro',
isa => 'Str',
);
has max_age => (
is => 'ro',
isa => 'Int',
);
has ui_locales => (
is => 'ro',
isa => 'Str',
);
has bot_prompt => (
is => 'ro',
isa => 'Str',
);
has user_info => (
lib/Amon2/Auth/Site/LINE.pm view on Meta::CPAN
response_type => 'code',
client_id => $self->client_id,
scope => join(' ', @{$self->scope}),
redirect_uri => $redirect_uri,
state => $self->get_state($c),
);
# optional parameters
$params{nonce} = $self->get_nonce($c);
for my $key (qw(prompt max_age ui_locales bot_prompt)) {
my $value = $self->$key;
if (defined $value) {
$params{$key} = $value;
}
}
my $auth_uri = URI->new($self->authorize_url);
$auth_uri->query_form(%params);
return $auth_uri->as_string;
lib/Amon2/Auth/Site/LINE.pm view on Meta::CPAN
The C<< nonce >> parameter is used a system for preventing replay attack / token interception attack on OpenID Connect. This attribute should not be set some foreseeable fixed value.
=item prompt
Optional. C<< consent >> is acceptable.
=item max_age
Optional. Specified on OpenID Conjnect Core 1.0.
=item ui_locales
Optional. Specified on OpenID Conjnect Core 1.0.
=item bot_prompt
Optional. C<< normal >> and C<< aggressive >> are acceptable.
=item state_session_key
Optional. C<< state >> parameter is kept on session with this specified session key during authentication.
( run in 1.471 second using v1.01-cache-2.11-cpan-ceb78f64989 )