Global

Methods

authenticate(options, route) → {function}

Source:
Parameters:
Name Type Description
options

CAS configuration object

route

explicitly declared current route, for example your.app.com/login, in this case route is login. which will be used for redirection after authentication.

Returns:
Type
function

validateServiceTicket(servicePackage) → {Promise.<any>}

Source:

validate ticket from CAS login

Parameters:
Name Type Description
servicePackage

this package include full service url and full cas validate url and ticket

Returns:
Type
Promise.<any>