All URIs are relative to http://http:/v1
Method | HTTP request | Description |
---|---|---|
identificationLoginGet | GET /identification/login | Authenticate with OpenID Connect |
identificationLoginMonitorGet | GET /identification/login/monitor | Get token for off band response login flow monitor |
identificationLoginReturnGet | GET /identification/login/return | Redirect endpoint for OpenID Connect |
identificationUserStampUuidPost | POST /identification/user/stamp/{uuid} | Query when the strong identification was last updated |
identificationLoginGet(opts)
Authenticate with OpenID Connect
var Persona = require('persona');
var apiInstance = new Persona.IdentificationApi();
var opts = {
'monitor': "monitor_example" // String |
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.identificationLoginGet(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
monitor | String | [optional] |
null (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
identificationLoginMonitorGet()
Get token for off band response login flow monitor
var Persona = require('persona');
var apiInstance = new Persona.IdentificationApi();
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.identificationLoginMonitorGet(callback);
This endpoint does not need any parameter.
null (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
String identificationLoginReturnGet(code, state, cookie, cookie2)
Redirect endpoint for OpenID Connect
var Persona = require('persona');
var apiInstance = new Persona.IdentificationApi();
var code = "code_example"; // String |
var state = "state_example"; // String |
var cookie = "/path/to/file"; // File |
var cookie2 = "/path/to/file"; // File |
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.identificationLoginReturnGet(code, state, cookie, cookie2, callback);
Name | Type | Description | Notes |
---|---|---|---|
code | String | ||
state | String | ||
cookie | File | ||
cookie2 | File |
String
No authorization required
- Content-Type: Not defined
- Accept: text/html;charset=utf-8
String identificationUserStampUuidPost(uuid, opts)
Query when the strong identification was last updated
Authorization header expects the following format ‘OAuth {token}’
var Persona = require('persona');
var apiInstance = new Persona.IdentificationApi();
var uuid = null; // String |
var opts = {
'authUser': null, // String |
'authorization': "authorization_example" // String |
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.identificationUserStampUuidPost(uuid, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
uuid | String | ||
authUser | String | [optional] | |
authorization | String | [optional] |
String
No authorization required
- Content-Type: Not defined
- Accept: application/json;charset=utf-8