File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
deps/oauth2_client/include Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 55% % Copyright (c) 2020-2023 VMware, Inc. or its affiliates. All rights reserved.
66% %
77
8- % % The closest we have to a type import in Erlang
9- -type (option (T ) :: T | 'undefined' ).
8+ % % Matches the option type in rabbit_types without introducing a dependency
9+ % % on that module and RabbitMQ core (rabbit_common)
10+ -type (option (T ) :: T | 'none' | 'undefined' ).
1011
1112-type oauth_provider_id () :: root | binary ().
1213
4748-record (successful_access_token_response , {
4849 access_token :: binary (),
4950 token_type :: binary (),
50- refresh_token :: option (binary ()), % A refresh token SHOULD NOT be included
51- % .. for client-credentials flow.
52- % https://www.rfc-editor.org/rfc/rfc6749#section-4.4.3
51+ % % Note: a refresh token SHOULD NOT be included
52+ % % ... for client-credentials flow.
53+ % % See https://www.rfc-editor.org/rfc/rfc6749#section-4.4.3
54+ refresh_token :: option (binary ()),
5355 expires_in :: option (integer ())
5456}).
5557
You can’t perform that action at this time.
0 commit comments