Skip to content

Commit

Permalink
fix!: remove identifier from OAuth2Credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed Feb 15, 2022
1 parent c6882ee commit 28ecfe0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/src/definitions/credentials/oauth2_credentials.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ import 'credentials.dart';

/// [Credentials] used for the `OAuth2SecurityScheme`.
class OAuth2Credentials extends Credentials {
/// The [identifier] associated with these [OAuth2Credentials].
String identifier;

/// The optional secret for these [OAuth2Credentials].
String? secret;

Expand All @@ -20,5 +17,5 @@ class OAuth2Credentials extends Credentials {
String? credentialsJson;

/// Constructor.
OAuth2Credentials(this.identifier, [this.secret]) : super("oauth2");
OAuth2Credentials([this.secret]) : super("oauth2");
}

0 comments on commit 28ecfe0

Please sign in to comment.