Hierarchy

  • UserService

Constructors

  • Creates an instance of UserService.

    Memberof

    UserService

    Returns UserService

Properties

customEndPointService: CustomEndPointService

Methods

  • The getCurrentUser method returns current logged in user's information.

    Returns

    Object

    Memberof

    UserService

    Returns any

  • The getOnAuthStateChangedData is used to get the current user is by setting an observer on the Auth object.

    Memberof

    UserService

    Parameters

    • callback: any

      its kind of callback function.

    Returns Unsubscribe

  • Returns

    Parameters

    • providerId: string

      provider ID for linking sso session

    • params: OIDCSSOParams

    Returns Promise<UserCredential>

  • The login method accepts email address and password. If authentication is successful, returns the authenticated user.

    Returns

    Promise

    Memberof

    UserService

    Parameters

    • email: string

      The users email address.

    • password: string

      The users password.

    Returns Promise<UserCredential>

  • The loginWithIDPResult is used to returns the authenticated user data.

    Returns

    Promise<UserCredential | null>

    Memberof

    UserService

    Returns Promise<null | UserCredential>

  • The loginWithMic method accepts providerName, providerIdentity and scope. If authentication is successful, returns the authenticated user.

    Returns

    void

    Memberof

    UserService

    Parameters

    • provider: string

      Identity provider name

    • providerId: string

      Provider's SSO url

    • Optional scope: string | string[]

      string or Array of string values

    Returns void

  • loginWithRopcAAD method accepts username and password to authenticate the user, if success returns the authenticated user.

    Returns

    void

    Parameters

    • username: string
    • password: string

    Returns Promise<void>

  • loginWithRopcISAM method accepts username and password to authenticate the user, if success returns the authenticated user.

    Returns

    void

    Parameters

    • username: string
    • password: string

    Returns Promise<void>

  • The loginWithSSO is used to authenticate with Azure AD. If authentication is successful, returns the authenticated user. a *

    Returns

    void

    Memberof

    UserService

    Parameters

    • Optional linkUrl: any

      linking method to open the url

    Returns void

  • The loginWithSSOForMobileNS6 is used to authenticate with SSO on Mobile apps based on the target nativescript framework.

    Returns

    Promise

    Memberof

    UserService

    Parameters

    • linkUrl: any

      linking method to open the url

    Returns Promise<void>

  • The loginWithSSOForMobileRN is used to authenticate with SSO on Mobile apps based on the target react-native framework.

    Returns

    Promise

    Memberof

    UserService

    Parameters

    • linkUrl: any

      linking method to open the url

    Returns Promise<void>

  • The logout method clear/remove the user session.

    Returns

    Promise

    Memberof

    UserService

    Returns Promise<unknown>

  • The startPhoneLogin method accepts phone number and captcha. It sends SMS message to the user's phone. The user signs in using a one-time code contained in the SMS message.

    Returns

    Promise

    Memberof

    UserService

    Parameters

    • phoneNumber: string

      The user's phone number.

    • captcha: ApplicationVerifier

      captcha If application send third party captcha

    Returns Promise<ConfirmationResult>

  • The verifyPhoneLogin method accepts confirmationResult and verificationCode. If authentication is successful, returns the authenticated user.

    Returns

    Promise

    Memberof

    UserService

    Parameters

    • confirmationResult: ConfirmationResult

      Return data from startPhoneLogin method.

    • verificationCode: string

    Returns Promise<UserCredential>

Generated using TypeDoc