OpenVeo AngularJS back end

API Docs for: 3.0.0
Show:

authenticationService

Summary

Defines an authentication service to deal with user authentication. Exposes methods to deal with user information and to sign in or logout.

Item Index

Methods

getUserInfo

Syntax

getUserInfo

() Object

Summary

Gets user information.

Returns:

Object:

The user description object

login

Syntax

login

(
  • email
  • password
)
Promise

Summary

Signs in using the given credentials.

Parameters:

Returns:

Promise:

The authentication promise

logout

Syntax

logout

() Promise

Summary

Logs out user.

Returns:

Promise:

The logout promise

setUserInfo

Syntax

setUserInfo

(
  • [info]
)

Summary

Sets user information.

Parameters:

  • [info] Object optional

    The user description object or null to remove all user information user information