@lens-protocol/react
Version:
Interacting with the Lens Protocol API using React.
14 lines (13 loc) • 581 B
TypeScript
import { Credentials, ProfileId } from '@lens-protocol/domain/entities';
import { EvmAddress } from '@lens-protocol/shared-kernel';
export declare class JwtCredentials implements Credentials {
readonly accessToken: string | null;
readonly identityToken: string | null;
readonly refreshToken: string;
readonly address: EvmAddress;
readonly profileId?: ProfileId;
readonly authorizationId: string;
constructor(accessToken: string | null, identityToken: string | null, refreshToken: string);
canRefresh(): boolean;
getTokenRefreshTime(): number;
}