ResourceOwnerPasswordGrant constructor

const ResourceOwnerPasswordGrant({
  1. required String username,
  2. required String password,
  3. CredentialsRefreshedCallback? onCredentialsRefreshed,
})

Obtains credentials using a resource owner password grant.

This grant uses the resource owner's username and password to obtain credentials.

Implementation

const ResourceOwnerPasswordGrant({
  required this.username,
  required this.password,
  this.onCredentialsRefreshed,
});