createSession function
Future<XRPCResponse<Session> >
createSession({
- required String identifier,
- required String password,
- String? authFactorToken,
- String? service,
- RetryConfig? retryConfig,
- PostClient? client,
Implementation
Future<core.XRPCResponse<core.Session>> createSession({
required String identifier,
required String password,
String? authFactorToken,
String? service,
core.RetryConfig? retryConfig,
final core.PostClient? client,
}) async => _toSessionResponse(
await comAtprotoServerCreateSession(
identifier: identifier,
password: password,
authFactorToken: authFactorToken,
$ctx: core.ServiceContext(
service: service,
retryConfig: retryConfig,
postClient: client,
),
),
);