OAuthApplicationWithSecret constructor

OAuthApplicationWithSecret({
  1. required OAuthApplicationWithSecretObjectEnum object,
  2. required String id,
  3. required String instanceId,
  4. required String name,
  5. required String clientId,
  6. required bool public,
  7. required String scopes,
  8. List<String> redirectUris = const [],
  9. required String callbackUrl,
  10. required String authorizeUrl,
  11. required String tokenFetchUrl,
  12. required String userInfoUrl,
  13. required String discoveryUrl,
  14. required String tokenIntrospectionUrl,
  15. required int createdAt,
  16. required int updatedAt,
  17. String? clientSecret,
})

Returns a new OAuthApplicationWithSecret instance.

Implementation

OAuthApplicationWithSecret({
  required this.object,
  required this.id,
  required this.instanceId,
  required this.name,
  required this.clientId,
  required this.public,
  required this.scopes,
  this.redirectUris = const [],
  required this.callbackUrl,
  required this.authorizeUrl,
  required this.tokenFetchUrl,
  required this.userInfoUrl,
  required this.discoveryUrl,
  required this.tokenIntrospectionUrl,
  required this.createdAt,
  required this.updatedAt,
  this.clientSecret,
});