title | language_tabs | language_clients | toc_footers | includes | search | highlight_theme | headingLevel | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Oidc Service v1.0.0 |
|
|
false |
darkula |
2 |
Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.
Oidc microservice
Base URLs:
- HTTP Authentication, scheme: bearer
Code samples
fetch('/interaction/{uid}/confirm',
{
method: 'POST'
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
fetch('/interaction/{uid}/confirm',
{
method: 'POST'
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
POST /interaction/{uid}/confirm
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Return value of OidcController.confirm | None |
Code samples
const inputBody = '{}';
const headers = {
'Content-Type':'application/x-www-form-urlencoded'
};
fetch('/interaction/{uid}/login',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const inputBody = {};
const headers = {
'Content-Type':'application/x-www-form-urlencoded'
};
fetch('/interaction/{uid}/login',
{
method: 'POST',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
POST /interaction/{uid}/login
Body parameter
{}
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | object | false | none |
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Return value of OidcController.login | None |
Code samples
const headers = {
'Accept':'type'
};
fetch('/interaction/{uid}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
const fetch = require('node-fetch');
const headers = {
'Accept':'type'
};
fetch('/interaction/{uid}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /interaction/{uid}
Example responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | login page | None |