createSession function

Future<XRPCResponse<Session>> createSession({
  1. Protocol? protocol,
  2. String? service,
  3. required String identifier,
  4. required String password,
  5. String? authFactorToken,
  6. RetryConfig? retryConfig,
  7. PostClient? client,
})

Implementation

Future<core.XRPCResponse<core.Session>> createSession({
  core.Protocol? protocol,
  String? service,
  required String identifier,
  required String password,
  String? authFactorToken,
  core.RetryConfig? retryConfig,
  final core.PostClient? client,
}) async =>
    await _Sessions(
      protocol: protocol,
      service: service,
      retryConfig: retryConfig,
      client: client,
    ).createSession(
      identifier: identifier,
      password: password,
      authFactorToken: authFactorToken,
    );