ServerCreateSessionInput constructor

  1. @JsonSerializable(includeIfNull: false)
const ServerCreateSessionInput({
  1. required String identifier,
  2. required String password,
  3. String? authFactorToken,
  4. bool? allowTakendown,
  5. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory ServerCreateSessionInput({
  /// Handle or other identifier supported by the server for the authenticating user.
  required String identifier,
  required String password,
  String? authFactorToken,

  /// When true, instead of throwing error for takendown accounts, a valid response with a narrow scoped token will be returned
  bool? allowTakendown,

  Map<String, dynamic>? $unknown,
}) = _ServerCreateSessionInput;