Authentication for Lens API.

interface IAuthentication {
    authenticate(request): Promise<void>;
    authenticateWith(__namedParameters): Promise<void>;
    fetch(): PromiseResult<ApprovedAuthenticationFragment, NotAuthenticatedError | CredentialsExpiredError>;
    fetchAll(request?): PromiseResult<PaginatedResult<ApprovedAuthenticationFragment>, NotAuthenticatedError | CredentialsExpiredError>;
    generateChallenge(request): Promise<AuthChallengeFragment>;
    getAccessToken(): PromiseResult<string, NotAuthenticatedError | CredentialsExpiredError>;
    getAuthorizationId(): Promise<null | string>;
    getIdentityToken(): PromiseResult<string, NotAuthenticatedError | CredentialsExpiredError>;
    getProfileId(): Promise<null | string>;
    getRefreshToken(): PromiseResult<string, NotAuthenticatedError | CredentialsExpiredError>;
    getWalletAddress(): Promise<null | string>;
    isAuthenticated(): Promise<boolean>;
    logout(): Promise<void>;
    revoke(request): PromiseResult<void, NotAuthenticatedError | CredentialsExpiredError>;
    upgradeCredentials(request): PromiseResult<void, NotAuthenticatedError | CredentialsExpiredError>;
    verify(request): Promise<boolean>;
    verify(request): Promise<boolean>;
}

Implemented by

Methods