Home Reference Source Repository
public class | source

UserService

Constructor Summary

Public Constructor
public

constructor(RegistrationService: *)

Member Summary

Public Members
public

The user hasn't been authenticated yet

public

The user registration is complete for at least on module

public

The user still needs to register for at least one module

public

Method Summary

Public Methods
public

Gets the progress of the user registration.

public

Returns true if the user is registered for atleast one module

public

Return true if the user is completely registered

Public Constructors

public constructor(RegistrationService: *) source

Params:

NameTypeAttributeDescription
RegistrationService *

Public Members

public PROGRESS_AUTHENTICATE: number source

The user hasn't been authenticated yet

public PROGRESS_COMPLETED: number source

The user registration is complete for at least on module

public PROGRESS_SELECT_MODULES: number source

The user still needs to register for at least one module

public registrationService: * source

Public Methods

public getRegistrationProgress(): * source

Gets the progress of the user registration. Posible returning values are UserService.PROGRESS_AUTHENTICATE UserService.PROGRESS_SELECT_MODULES UserService.PROGRESS_COMPLETED

Return:

*

public isRegistered(): * source

Returns true if the user is registered for atleast one module

Return:

*

public isRegistrationComplete(): * source

Return true if the user is completely registered

Return:

*