SaAuthService constructor

SaAuthService(
  1. String baseUrl, {
  2. String path = 'token',
  3. String? realm,
})

Implementation

SaAuthService(
  String baseUrl, {
  String path = 'token',
  String? realm,
})  : this._realm = realm ?? 'default',
      this._service = Service(baseUrl, path, requestRole: 'public');