signIn method

Future signIn(
  1. String username,
  2. String password
)

Implementation

Future<dynamic> signIn(String username, String password) {
  var uri = Uri.parse('$baseUrl/$requestRole/$path');

  return this.post(uri, {
    'username': username,
    'password': password,
    'realm': _realm,
  });
}