identify method

  1. @override
Future<Map<String, Object?>> identify(
  1. Map<String, Object?> hello
)
override

Returns the member d of terminal.identify for hello (the member d of terminal.hello): the apps add the access token and a DPoP proof with the nonce of hello, the console adds no token (docs/spec/15-client-architecture.md 23.1).

Implementation

@override
Future<Map<String, Object?>> identify(Map<String, Object?> hello) async {
  final error = identifyError;
  if (error != null) throw error;
  return {
    'protocol_version': 1,
    'device_id': '0192f4a0-7b1c-7b22-9d4f-5a6b7c8d9e01',
  };
}