exchangeIdentityTicket method
Future<InappifySdkResult<InappifyAuthenticationResult> >
exchangeIdentityTicket(
- InappifyIdentityTicketRequest request
override
Exchanges a short-lived, single-use Identity Ticket.
The result intentionally excludes access and refresh tokens. Session credentials remain private to the implementation that owns the session.
Implementation
@override
Future<InappifySdkResult<InappifyAuthenticationResult>>
exchangeIdentityTicket(InappifyIdentityTicketRequest request) {
return _invokeResult<InappifyAuthenticationResult>(
method: InappifyChannelContract.exchangeIdentityTicket,
payload: request.toMap(),
decodeData: InappifyAuthenticationResult.fromMap,
);
}