createSession function

Future<XRPCResponse<CreateSessionOutput>> createSession({
  1. required String identifier,
  2. required String password,
  3. String? authFactorToken,
  4. Protocol? $protocol,
  5. String? $service,
  6. RetryConfig? $retryConfig,
  7. Map<String, String>? $unknown,
  8. Map<String, String>? $headers,
  9. PostClient? $client,
})

Implementation

Future<XRPCResponse<CreateSessionOutput>> createSession({
  required String identifier,
  required String password,
  String? authFactorToken,
  Protocol? $protocol,
  String? $service,
  RetryConfig? $retryConfig,
  Map<String, String>? $unknown,
  Map<String, String>? $headers,
  PostClient? $client,
}) async =>
    await _$Fn(
      protocol: $protocol,
      service: $service,
      retryConfig: $retryConfig,
    ).createSession(
      identifier: identifier,
      password: password,
      authFactorToken: authFactorToken,
      $unknown: $unknown,
      $headers: $headers,
      $client: $client,
    );