OAuthConfig constructor

OAuthConfig({
  1. required String clientId,
  2. required String redirectUri,
  3. List<String> scopes = const ['inboxes:read', 'inboxes:write'],
  4. String authorizationEndpoint = 'https://api.lockally.com/oauth/authorize',
  5. String tokenEndpoint = 'https://api.lockally.com/oauth/token',
})

Implementation

OAuthConfig({
  required this.clientId,
  required this.redirectUri,
  this.scopes = const ['inboxes:read', 'inboxes:write'],
  this.authorizationEndpoint = 'https://api.lockally.com/oauth/authorize',
  this.tokenEndpoint = 'https://api.lockally.com/oauth/token',
});