UNPKG

@lens-protocol/react

Version:

Interacting with the Lens Protocol API using React.

31 lines (30 loc) 807 B
/** * Returns the current access token. * * @experimental This API is VERY experimental and might change in the future. * @defaultValue `null` if not authenticated. * * @category Misc * @group Hooks */ export declare function useAccessToken(): string | null; /** * Returns the current identity token. * * @experimental This API is VERY experimental and might change in the future. * @defaultValue `null` if not authenticated. * * @category Misc * @group Hooks */ export declare function useIdentityToken(): string | null; /** * Returns the current refresh token. * * @experimental This API is VERY experimental and might change in the future. * @defaultValue `null` if not authenticated. * * @category Misc * @group Hooks */ export declare function useRefreshToken(): string | null;