@iterable/react-native-sdk
Version:
Iterable SDK for React Native.
14 lines (13 loc) • 451 B
text/typescript
// REVIEW: This seems to currently be used as a type instead of a class, so it
// might be better to make it a type
/**
* The result of an authentication request to Iterable.
*/
export class IterableAuthResponse {
/** JWT Token */
authToken?: string = '';
/** Callback when the authentication to Iterable succeeds */
successCallback?: () => void;
/** Callback when the authentication to Iterable fails */
failureCallback?: () => void;
}