Skip to content

Commit

Permalink
style: upgrade lints to 5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rbellens committed Dec 29, 2024
1 parent bdeaf45 commit 28f38d7
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion lib/src/model/claims.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of openid.model;
part of '../model.dart';

abstract class UserInfo implements JsonObject {
/// Identifier for the End-User at the Issuer.
Expand Down
2 changes: 1 addition & 1 deletion lib/src/model/metadata.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of openid.model;
part of '../model.dart';

/// OpenID Provider Metadata
class OpenIdProviderMetadata extends JsonObject {
Expand Down
2 changes: 1 addition & 1 deletion lib/src/model/token.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of openid.model;
part of '../model.dart';

class IdToken extends JsonWebToken {
IdToken.unverified(String serialization) : super.unverified(serialization);
Expand Down
2 changes: 1 addition & 1 deletion lib/src/model/token_response.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of openid.model;
part of '../model.dart';

class TokenResponse extends JsonObject {
/// OAuth 2.0 Access Token
Expand Down
4 changes: 0 additions & 4 deletions lib/src/openid.dart
Original file line number Diff line number Diff line change
Expand Up @@ -262,10 +262,6 @@ class Credential {
return http.get(uri, client: createHttpClient());
}

Future _post(uri, {dynamic body}) async {
return http.post(uri, client: createHttpClient(), body: body);
}

IdToken get idToken => _token.idToken;

Stream<Exception> validateToken(
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dependencies:

dev_dependencies:
test: ^1.16.5
lints: ^2.0.1
lints: ^5.0.0
melos: ^6.0.0

executables:
Expand Down

0 comments on commit 28f38d7

Please sign in to comment.