Skip to main content

Identity Port (ports)

Classes

IdentityPort

import { IdentityPort } from '@hexajs-dev/ports';
class IdentityPort { ... }

Methods

getProfileUserInfo()

getProfileUserInfo(profileDetails?: GetProfileUserInfoProfileDetails): Promise<HexaWebProfileUserInfo>

getRedirectURL()

getRedirectURL(path?: string): string

launchWebAuthFlow()

launchWebAuthFlow(details: HexaWebIdentityLaunchWebAuthFlowDetails): Promise<string>

Supporting Types

GetProfileUserInfoProfileDetails

interface GetProfileUserInfoProfileDetails {
accountStatus?: 'ANY' | 'SYNC';
}