Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmednfwela committed Mar 13, 2024
1 parent 82af160 commit 583eba2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/oidc_core/lib/src/utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ class OidcInternalUtilities {
OidcDurationSecondsConverter(),
];

static Map<String, Object> serializeQueryParameters(Map<String, Object?> input) {
static Map<String, Object> serializeQueryParameters(
Map<String, Object?> input) {
final result = <String, Object>{};
for (final element in input.entries) {
final k = element.key;
Expand Down
2 changes: 1 addition & 1 deletion packages/oidc_core/test/endpoints/authorize_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ void main() {

final url = request
.generateUri(Uri.parse('https://auth.example.com/authorize?tid=123'));

expect(
url.toString(),
'https://auth.example.com/authorize?tid=123&scope=openid&response_type=code&client_id=abc&redirect_uri=https%3A%2F%2Fexample.com%2Fredirect&max_age=20',
Expand Down

0 comments on commit 583eba2

Please sign in to comment.