-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTokenExchange.pm
More file actions
49 lines (28 loc) · 934 Bytes
/
Copy pathTokenExchange.pm
File metadata and controls
49 lines (28 loc) · 934 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
use strict; use warnings;
package Net::OAuth2Server::TokenExchange;
our $VERSION = '0.004';
use Net::OAuth2Server::Request::Token::TokenExchange ();
package Net::OAuth2Server::Response::Role::TokenExchange;
our $VERSION = '0.004';
use Role::Tiny;
use Class::Method::Modifiers 'fresh';
sub fresh__add_issued_token_type { shift->add( issued_token_type => @_ ) }
fresh add_issued_token_type => \&fresh__add_issued_token_type;
undef *fresh__add_issued_token_type;
1;
__END__
=pod
=encoding UTF-8
=head1 NAME
Net::OAuth2Server::TokenExchange - A Token Exchange extension for Net::OAuth2Server
=head1 DISCLAIMER
B<I cannot promise that the API is fully stable yet.>
For that reason, no documentation is provided.
=head1 DESCRIPTION
A simple implementation of OAuth 2.0 Token Exchange.
=head1 SEE ALSO
=over 2
=item *
L<RFCE<nbsp>8693, I<OAuth 2.0 Token Exchange>|https://www.rfc-editor.org/rfc/rfc8693.html>
=back
=cut