Flow.password constructor

Flow.password(
  1. Client client, {
  2. List<String> scopes = const ['openid', 'profile', 'email'],
})

Creates a new Flow for the password flow.

This flow can be used for active authentication by highly-trusted applications. Call Flow.loginWithPassword to authenticate a user with their username and password.

Implementation

Flow.password(Client client,
    {List<String> scopes = const ['openid', 'profile', 'email']})
    : this._(
        FlowType.password,
        '',
        client,
        scopes: scopes,
      );