CasStrategy
Summary
Defines a passport cas strategy to authenticate requests using a cas server.
Constructor
CasStrategy
Syntax
CasStrategy
(
-
options
-
verify
Summary
Parameters:
Example:
e.g. Configuration example
// {
// "service": "https://my-application-service-host", // Application service
// "url": "https://my-cas-server-host:8443/cas", // CAS server url
// "version": "3", // CAS protocol version (could be 1, 2, 3)
// "certificate": "/home/test/cas.crt" // CAS full chain certificate
// }
Methods
authenticate
Syntax
authenticate
(
async
-
request
-
options
Summary
Authenticates a request using cas.
Properties
verify
Syntax
Summary
Passport verify function to call to validate user returned by CAS.