• 10Duke Identity Bridge Management API v0.1.0
  • provider
  • consumer
  • responseAttributes
  • oauthClient
  • consumerTemplate
  • providerTemplate
  • signOn
  • signOnEvent
  • Schemas
  • Navbar Iconidentitybridge Identity Bridge Management API

    10Duke Identity Bridge Management API v0.1.0

    Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.

    REST API for management of the 10Duke Identity Bridge

    Base URLs:

    Web: 10Duke Software Ltd

    provider

    An identity provider in the system

    Returns provider data based on ID

    Code samples

    curl -X GET //YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers/{id} \
      -H 'Accept: application/json'
    
    GET //YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers/{id} HTTP/1.1
    Host: null
    Accept: application/json
    
    var headers = {
      'Accept':'application/json'
    };
    $.ajax({
      url: '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers/{id}',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    const fetch = require('node-fetch');
    const headers = { 
      'Accept':'application/json'
    };
    fetch('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers/{id}',
      {
        method: 'GET',
        headers: headers
      })
    .then(function(res) {
        return res.json();
      })
    .then(function(body) {
        console.log(body);
      })
    ;
    
    require 'rest-client'
    require 'json'
    headers = {
      'Accept' => 'application/json'
    }
    result = RestClient.get '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers/{id}',
      params: {},
      headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
      'Accept': 'application/json'
    }
    r = requests.get('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers/{id}',
      params = {},
      headers = headers)
    print r.json()
    
    URL obj = new URL("//YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers/{id}");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    

    GET /providers/{id}

    Returns data configuring a provider in the system

    Parameters

    Parameter In Type Required
    id - Provider ID path string(uuid) true

    Example responses

    {
      "id": "string",
      "providerType": "OAuth 2.0 with OpenID Connect",
      "applyTemplate": true,
      "templateId": "string",
      "name": "string",
      "description": "string",
      "authUrl": "string",
      "tokenUrl": "string",
      "userInfoUrl": "string",
      "clientId": "string",
      "clientSecret": "string",
      "oauthScope": "string",
      "entityId": "string",
      "publicKey": "string",
      "sigAlg": "string",
      "metadataUrl": "http://example.com"
    }
    
    {
      "error": "string",
      "error_description": "string",
      "error_uri": "string"
    }
    

    Responses

    Status Meaning Schema
    200 - Provider response OK Provider
    default - Unexpected error Default Error

    Deletes provider data based on ID

    Code samples

    curl -X DELETE //YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers/{id} \
      -H 'Accept: application/json'
    
    DELETE //YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers/{id} HTTP/1.1
    Host: null
    Accept: application/json
    
    var headers = {
      'Accept':'application/json'
    };
    $.ajax({
      url: '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers/{id}',
      method: 'delete',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    const fetch = require('node-fetch');
    const headers = { 
      'Accept':'application/json'
    };
    fetch('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers/{id}',
      {
        method: 'DELETE',
        headers: headers
      })
    .then(function(res) {
        return res.json();
      })
    .then(function(body) {
        console.log(body);
      })
    ;
    
    require 'rest-client'
    require 'json'
    headers = {
      'Accept' => 'application/json'
    }
    result = RestClient.delete '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers/{id}',
      params: {},
      headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
      'Accept': 'application/json'
    }
    r = requests.delete('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers/{id}',
      params = {},
      headers = headers)
    print r.json()
    
    URL obj = new URL("//YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers/{id}");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("DELETE");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    

    DELETE /providers/{id}

    Deletes provider configuration data from the system

    Parameters

    Parameter In Type Required
    id - Provider ID path string(uuid) true

    Example responses

    {
      "error": "string",
      "error_description": "string",
      "error_uri": "string"
    }
    

    Responses

    Status Meaning Schema
    204 - Empty response No Content Inline
    default - Unexpected error Default Error

    Reads provider metadata from the given URL

    Code samples

    curl -X GET //YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers/readMetadata/{url} \
      -H 'Accept: application/json'
    
    GET //YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers/readMetadata/{url} HTTP/1.1
    Host: null
    Accept: application/json
    
    var headers = {
      'Accept':'application/json'
    };
    $.ajax({
      url: '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers/readMetadata/{url}',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    const fetch = require('node-fetch');
    const headers = { 
      'Accept':'application/json'
    };
    fetch('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers/readMetadata/{url}',
      {
        method: 'GET',
        headers: headers
      })
    .then(function(res) {
        return res.json();
      })
    .then(function(body) {
        console.log(body);
      })
    ;
    
    require 'rest-client'
    require 'json'
    headers = {
      'Accept' => 'application/json'
    }
    result = RestClient.get '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers/readMetadata/{url}',
      params: {},
      headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
      'Accept': 'application/json'
    }
    r = requests.get('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers/readMetadata/{url}',
      params = {},
      headers = headers)
    print r.json()
    
    URL obj = new URL("//YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers/readMetadata/{url}");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    

    GET /providers/readMetadata/{url}

    Reads and parses metadata of a SAML provider from the metadata document loaded from the given URL

    Parameters

    Parameter In Type Required
    url - URL of the endpoint for reading provider metadata path string(url) true

    Example responses

    {
      "id": "string",
      "providerType": "OAuth 2.0 with OpenID Connect",
      "applyTemplate": true,
      "templateId": "string",
      "name": "string",
      "description": "string",
      "authUrl": "string",
      "tokenUrl": "string",
      "userInfoUrl": "string",
      "clientId": "string",
      "clientSecret": "string",
      "oauthScope": "string",
      "entityId": "string",
      "publicKey": "string",
      "sigAlg": "string",
      "metadataUrl": "http://example.com"
    }
    
    {
      "error": "string",
      "error_description": "string",
      "error_uri": "string"
    }
    

    Responses

    Status Meaning Schema
    200 - Provider response OK Provider
    default - Unexpected error Default Error

    Returns all providers

    Code samples

    curl -X GET //YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers \
      -H 'Accept: application/json'
    
    GET //YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers HTTP/1.1
    Host: null
    Accept: application/json
    
    var headers = {
      'Accept':'application/json'
    };
    $.ajax({
      url: '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    const fetch = require('node-fetch');
    const headers = { 
      'Accept':'application/json'
    };
    fetch('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers',
      {
        method: 'GET',
        headers: headers
      })
    .then(function(res) {
        return res.json();
      })
    .then(function(body) {
        console.log(body);
      })
    ;
    
    require 'rest-client'
    require 'json'
    headers = {
      'Accept' => 'application/json'
    }
    result = RestClient.get '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers',
      params: {},
      headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
      'Accept': 'application/json'
    }
    r = requests.get('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers',
      params = {},
      headers = headers)
    print r.json()
    
    URL obj = new URL("//YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    

    GET /providers

    Returns list of all providers configured in the system

    Example responses

    [
      {
        "id": "string",
        "providerType": "OAuth 2.0 with OpenID Connect",
        "applyTemplate": true,
        "templateId": "string",
        "name": "string",
        "description": "string",
        "authUrl": "string",
        "tokenUrl": "string",
        "userInfoUrl": "string",
        "clientId": "string",
        "clientSecret": "string",
        "oauthScope": "string",
        "entityId": "string",
        "publicKey": "string",
        "sigAlg": "string",
        "metadataUrl": "http://example.com"
      }
    ]
    
    {
      "error": "string",
      "error_description": "string",
      "error_uri": "string"
    }
    

    Responses

    Status Meaning Schema
    200 - Provider list response OK Providers
    default - Unexpected error Default Error

    Creates a new provider

    Code samples

    curl -X POST //YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json'
    
    POST //YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers HTTP/1.1
    Host: null
    Content-Type: application/json
    Accept: application/json
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    $.ajax({
      url: '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers',
      method: 'post',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    const fetch = require('node-fetch');
    const inputBody = '{
      "id": "string",
      "providerType": "OAuth 2.0 with OpenID Connect",
      "applyTemplate": true,
      "templateId": "string",
      "name": "string",
      "description": "string",
      "authUrl": "string",
      "tokenUrl": "string",
      "userInfoUrl": "string",
      "clientId": "string",
      "clientSecret": "string",
      "oauthScope": "string",
      "entityId": "string",
      "publicKey": "string",
      "sigAlg": "string",
      "metadataUrl": "http://example.com"
    }';
    const headers = { 
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    fetch('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers',
      {
        method: 'POST',
        body: inputBody,
        headers: headers
      })
    .then(function(res) {
        return res.json();
      })
    .then(function(body) {
        console.log(body);
      })
    ;
    
    require 'rest-client'
    require 'json'
    headers = {
      'Content-Type' => 'application/json',
      'Accept' => 'application/json'
    }
    result = RestClient.post '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers',
      params: {},
      headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
      'Content-Type': 'application/json',
      'Accept': 'application/json'
    }
    r = requests.post('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers',
      params = {},
      headers = headers)
    print r.json()
    
    URL obj = new URL("//YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("POST");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    

    POST /providers

    Creates a new provider as described by the given JSON object

    Body parameter

    {
      "id": "string",
      "providerType": "OAuth 2.0 with OpenID Connect",
      "applyTemplate": true,
      "templateId": "string",
      "name": "string",
      "description": "string",
      "authUrl": "string",
      "tokenUrl": "string",
      "userInfoUrl": "string",
      "clientId": "string",
      "clientSecret": "string",
      "oauthScope": "string",
      "entityId": "string",
      "publicKey": "string",
      "sigAlg": "string",
      "metadataUrl": "http://example.com"
    }
    

    Parameters

    Parameter In Type Required
    body - JSON describing the provider to create body Provider false

    Example responses

    {
      "id": "string",
      "providerType": "OAuth 2.0 with OpenID Connect",
      "applyTemplate": true,
      "templateId": "string",
      "name": "string",
      "description": "string",
      "authUrl": "string",
      "tokenUrl": "string",
      "userInfoUrl": "string",
      "clientId": "string",
      "clientSecret": "string",
      "oauthScope": "string",
      "entityId": "string",
      "publicKey": "string",
      "sigAlg": "string",
      "metadataUrl": "http://example.com"
    }
    
    {
      "error": "string",
      "error_description": "string",
      "error_uri": "string"
    }
    

    Responses

    Status Meaning Schema
    201 - The created provider Created Provider
    default - Unexpected error Default Error

    Updates an existing provider

    Code samples

    curl -X PUT //YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json'
    
    PUT //YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers HTTP/1.1
    Host: null
    Content-Type: application/json
    Accept: application/json
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    $.ajax({
      url: '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers',
      method: 'put',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    const fetch = require('node-fetch');
    const inputBody = '{
      "id": "string",
      "providerType": "OAuth 2.0 with OpenID Connect",
      "applyTemplate": true,
      "templateId": "string",
      "name": "string",
      "description": "string",
      "authUrl": "string",
      "tokenUrl": "string",
      "userInfoUrl": "string",
      "clientId": "string",
      "clientSecret": "string",
      "oauthScope": "string",
      "entityId": "string",
      "publicKey": "string",
      "sigAlg": "string",
      "metadataUrl": "http://example.com"
    }';
    const headers = { 
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    fetch('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers',
      {
        method: 'PUT',
        body: inputBody,
        headers: headers
      })
    .then(function(res) {
        return res.json();
      })
    .then(function(body) {
        console.log(body);
      })
    ;
    
    require 'rest-client'
    require 'json'
    headers = {
      'Content-Type' => 'application/json',
      'Accept' => 'application/json'
    }
    result = RestClient.put '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers',
      params: {},
      headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
      'Content-Type': 'application/json',
      'Accept': 'application/json'
    }
    r = requests.put('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers',
      params = {},
      headers = headers)
    print r.json()
    
    URL obj = new URL("//YOUR_TENANT_NAME.idb.10duke.com/api/v1/providers");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("PUT");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    

    PUT /providers

    Updates an existing provider by replacing current data with values described by the given JSON object

    Body parameter

    {
      "id": "string",
      "providerType": "OAuth 2.0 with OpenID Connect",
      "applyTemplate": true,
      "templateId": "string",
      "name": "string",
      "description": "string",
      "authUrl": "string",
      "tokenUrl": "string",
      "userInfoUrl": "string",
      "clientId": "string",
      "clientSecret": "string",
      "oauthScope": "string",
      "entityId": "string",
      "publicKey": "string",
      "sigAlg": "string",
      "metadataUrl": "http://example.com"
    }
    

    Parameters

    Parameter In Type Required
    body - JSON describing the new provider data body Provider false

    Example responses

    {
      "id": "string",
      "providerType": "OAuth 2.0 with OpenID Connect",
      "applyTemplate": true,
      "templateId": "string",
      "name": "string",
      "description": "string",
      "authUrl": "string",
      "tokenUrl": "string",
      "userInfoUrl": "string",
      "clientId": "string",
      "clientSecret": "string",
      "oauthScope": "string",
      "entityId": "string",
      "publicKey": "string",
      "sigAlg": "string",
      "metadataUrl": "http://example.com"
    }
    
    {
      "error": "string",
      "error_description": "string",
      "error_uri": "string"
    }
    

    Responses

    Status Meaning Schema
    200 - The updated provider OK Provider
    default - Unexpected error Default Error

    consumer

    A consumer or a client that delegates authentication to an identity provider via the 10Duke Identity Bridge

    Returns consumer data based on ID

    Code samples

    curl -X GET //YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{id} \
      -H 'Accept: application/json'
    
    GET //YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{id} HTTP/1.1
    Host: null
    Accept: application/json
    
    var headers = {
      'Accept':'application/json'
    };
    $.ajax({
      url: '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{id}',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    const fetch = require('node-fetch');
    const headers = { 
      'Accept':'application/json'
    };
    fetch('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{id}',
      {
        method: 'GET',
        headers: headers
      })
    .then(function(res) {
        return res.json();
      })
    .then(function(body) {
        console.log(body);
      })
    ;
    
    require 'rest-client'
    require 'json'
    headers = {
      'Accept' => 'application/json'
    }
    result = RestClient.get '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{id}',
      params: {},
      headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
      'Accept': 'application/json'
    }
    r = requests.get('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{id}',
      params = {},
      headers = headers)
    print r.json()
    
    URL obj = new URL("//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{id}");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    

    GET /consumers/{id}

    Returns data configuring a consumer in the system

    Parameters

    Parameter In Type Required
    id - Consumer ID path string(uuid) true

    Example responses

    {
      "id": "string",
      "consumerType": "OAuth 2.0 with OpenID Connect",
      "applyTemplate": true,
      "templateId": "string",
      "name": "string",
      "description": "string",
      "callbackUrl": "string",
      "clientId": "string",
      "clientSecret": "string",
      "entityId": "string",
      "publicKey": "string",
      "responseBinding": "post",
      "responseDeflateMethod": "gzip",
      "responseCharacterEncoding": "string",
      "responseSigAlg": "string",
      "metadataUrl": "http://example.com"
    }
    
    {
      "error": "string",
      "error_description": "string",
      "error_uri": "string"
    }
    

    Responses

    Status Meaning Schema
    200 - Consumer response OK Consumer
    default - Unexpected error Default Error

    Deletes consumer data based on ID

    Code samples

    curl -X DELETE //YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{id} \
      -H 'Accept: application/json'
    
    DELETE //YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{id} HTTP/1.1
    Host: null
    Accept: application/json
    
    var headers = {
      'Accept':'application/json'
    };
    $.ajax({
      url: '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{id}',
      method: 'delete',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    const fetch = require('node-fetch');
    const headers = { 
      'Accept':'application/json'
    };
    fetch('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{id}',
      {
        method: 'DELETE',
        headers: headers
      })
    .then(function(res) {
        return res.json();
      })
    .then(function(body) {
        console.log(body);
      })
    ;
    
    require 'rest-client'
    require 'json'
    headers = {
      'Accept' => 'application/json'
    }
    result = RestClient.delete '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{id}',
      params: {},
      headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
      'Accept': 'application/json'
    }
    r = requests.delete('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{id}',
      params = {},
      headers = headers)
    print r.json()
    
    URL obj = new URL("//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{id}");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("DELETE");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    

    DELETE /consumers/{id}

    Deletes consumer configuration data from the system

    Parameters

    Parameter In Type Required
    id - Consumer ID path string(uuid) true

    Example responses

    {
      "error": "string",
      "error_description": "string",
      "error_uri": "string"
    }
    

    Responses

    Status Meaning Schema
    204 - Empty response No Content Inline
    default - Unexpected error Default Error

    Returns all consumers

    Code samples

    curl -X GET //YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers \
      -H 'Accept: application/json'
    
    GET //YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers HTTP/1.1
    Host: null
    Accept: application/json
    
    var headers = {
      'Accept':'application/json'
    };
    $.ajax({
      url: '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    const fetch = require('node-fetch');
    const headers = { 
      'Accept':'application/json'
    };
    fetch('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers',
      {
        method: 'GET',
        headers: headers
      })
    .then(function(res) {
        return res.json();
      })
    .then(function(body) {
        console.log(body);
      })
    ;
    
    require 'rest-client'
    require 'json'
    headers = {
      'Accept' => 'application/json'
    }
    result = RestClient.get '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers',
      params: {},
      headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
      'Accept': 'application/json'
    }
    r = requests.get('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers',
      params = {},
      headers = headers)
    print r.json()
    
    URL obj = new URL("//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    

    GET /consumers

    Returns list of all consumers configured in the system

    Example responses

    [
      {
        "id": "string",
        "consumerType": "OAuth 2.0 with OpenID Connect",
        "applyTemplate": true,
        "templateId": "string",
        "name": "string",
        "description": "string",
        "callbackUrl": "string",
        "clientId": "string",
        "clientSecret": "string",
        "entityId": "string",
        "publicKey": "string",
        "responseBinding": "post",
        "responseDeflateMethod": "gzip",
        "responseCharacterEncoding": "string",
        "responseSigAlg": "string",
        "metadataUrl": "http://example.com"
      }
    ]
    
    {
      "error": "string",
      "error_description": "string",
      "error_uri": "string"
    }
    

    Responses

    Status Meaning Schema
    200 - Consumer list response OK Consumers
    default - Unexpected error Default Error

    Creates a new consumer

    Code samples

    curl -X POST //YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json'
    
    POST //YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers HTTP/1.1
    Host: null
    Content-Type: application/json
    Accept: application/json
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    $.ajax({
      url: '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers',
      method: 'post',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    const fetch = require('node-fetch');
    const inputBody = '{
      "id": "string",
      "consumerType": "OAuth 2.0 with OpenID Connect",
      "applyTemplate": true,
      "templateId": "string",
      "name": "string",
      "description": "string",
      "callbackUrl": "string",
      "clientId": "string",
      "clientSecret": "string",
      "entityId": "string",
      "publicKey": "string",
      "responseBinding": "post",
      "responseDeflateMethod": "gzip",
      "responseCharacterEncoding": "string",
      "responseSigAlg": "string",
      "metadataUrl": "http://example.com"
    }';
    const headers = { 
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    fetch('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers',
      {
        method: 'POST',
        body: inputBody,
        headers: headers
      })
    .then(function(res) {
        return res.json();
      })
    .then(function(body) {
        console.log(body);
      })
    ;
    
    require 'rest-client'
    require 'json'
    headers = {
      'Content-Type' => 'application/json',
      'Accept' => 'application/json'
    }
    result = RestClient.post '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers',
      params: {},
      headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
      'Content-Type': 'application/json',
      'Accept': 'application/json'
    }
    r = requests.post('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers',
      params = {},
      headers = headers)
    print r.json()
    
    URL obj = new URL("//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("POST");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    

    POST /consumers

    Creates a new consumer as described by the given JSON object

    Body parameter

    {
      "id": "string",
      "consumerType": "OAuth 2.0 with OpenID Connect",
      "applyTemplate": true,
      "templateId": "string",
      "name": "string",
      "description": "string",
      "callbackUrl": "string",
      "clientId": "string",
      "clientSecret": "string",
      "entityId": "string",
      "publicKey": "string",
      "responseBinding": "post",
      "responseDeflateMethod": "gzip",
      "responseCharacterEncoding": "string",
      "responseSigAlg": "string",
      "metadataUrl": "http://example.com"
    }
    

    Parameters

    Parameter In Type Required
    body - JSON describing the consumer to create body Consumer false

    Example responses

    {
      "id": "string",
      "consumerType": "OAuth 2.0 with OpenID Connect",
      "applyTemplate": true,
      "templateId": "string",
      "name": "string",
      "description": "string",
      "callbackUrl": "string",
      "clientId": "string",
      "clientSecret": "string",
      "entityId": "string",
      "publicKey": "string",
      "responseBinding": "post",
      "responseDeflateMethod": "gzip",
      "responseCharacterEncoding": "string",
      "responseSigAlg": "string",
      "metadataUrl": "http://example.com"
    }
    
    {
      "error": "string",
      "error_description": "string",
      "error_uri": "string"
    }
    

    Responses

    Status Meaning Schema
    201 - The created consumer Created Consumer
    default - Unexpected error Default Error

    Updates an existing consumer

    Code samples

    curl -X PUT //YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json'
    
    PUT //YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers HTTP/1.1
    Host: null
    Content-Type: application/json
    Accept: application/json
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    $.ajax({
      url: '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers',
      method: 'put',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    const fetch = require('node-fetch');
    const inputBody = '{
      "id": "string",
      "consumerType": "OAuth 2.0 with OpenID Connect",
      "applyTemplate": true,
      "templateId": "string",
      "name": "string",
      "description": "string",
      "callbackUrl": "string",
      "clientId": "string",
      "clientSecret": "string",
      "entityId": "string",
      "publicKey": "string",
      "responseBinding": "post",
      "responseDeflateMethod": "gzip",
      "responseCharacterEncoding": "string",
      "responseSigAlg": "string",
      "metadataUrl": "http://example.com"
    }';
    const headers = { 
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    fetch('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers',
      {
        method: 'PUT',
        body: inputBody,
        headers: headers
      })
    .then(function(res) {
        return res.json();
      })
    .then(function(body) {
        console.log(body);
      })
    ;
    
    require 'rest-client'
    require 'json'
    headers = {
      'Content-Type' => 'application/json',
      'Accept' => 'application/json'
    }
    result = RestClient.put '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers',
      params: {},
      headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
      'Content-Type': 'application/json',
      'Accept': 'application/json'
    }
    r = requests.put('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers',
      params = {},
      headers = headers)
    print r.json()
    
    URL obj = new URL("//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("PUT");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    

    PUT /consumers

    Updates an existing consumer by replacing current data with values described by the given JSON object

    Body parameter

    {
      "id": "string",
      "consumerType": "OAuth 2.0 with OpenID Connect",
      "applyTemplate": true,
      "templateId": "string",
      "name": "string",
      "description": "string",
      "callbackUrl": "string",
      "clientId": "string",
      "clientSecret": "string",
      "entityId": "string",
      "publicKey": "string",
      "responseBinding": "post",
      "responseDeflateMethod": "gzip",
      "responseCharacterEncoding": "string",
      "responseSigAlg": "string",
      "metadataUrl": "http://example.com"
    }
    

    Parameters

    Parameter In Type Required
    body - JSON describing the new consumer data body Consumer false

    Example responses

    {
      "id": "string",
      "consumerType": "OAuth 2.0 with OpenID Connect",
      "applyTemplate": true,
      "templateId": "string",
      "name": "string",
      "description": "string",
      "callbackUrl": "string",
      "clientId": "string",
      "clientSecret": "string",
      "entityId": "string",
      "publicKey": "string",
      "responseBinding": "post",
      "responseDeflateMethod": "gzip",
      "responseCharacterEncoding": "string",
      "responseSigAlg": "string",
      "metadataUrl": "http://example.com"
    }
    
    {
      "error": "string",
      "error_description": "string",
      "error_uri": "string"
    }
    

    Responses

    Status Meaning Schema
    200 - The updated consumer OK Consumer
    default - Unexpected error Default Error

    responseAttributes

    Configuration for mapping response attributes from a provider to a consumer

    Returns consumer response attribute definition by id

    Code samples

    curl -X GET //YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes/{responseAttributesId} \
      -H 'Accept: application/json'
    
    GET //YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes/{responseAttributesId} HTTP/1.1
    Host: null
    Accept: application/json
    
    var headers = {
      'Accept':'application/json'
    };
    $.ajax({
      url: '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes/{responseAttributesId}',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    const fetch = require('node-fetch');
    const headers = { 
      'Accept':'application/json'
    };
    fetch('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes/{responseAttributesId}',
      {
        method: 'GET',
        headers: headers
      })
    .then(function(res) {
        return res.json();
      })
    .then(function(body) {
        console.log(body);
      })
    ;
    
    require 'rest-client'
    require 'json'
    headers = {
      'Accept' => 'application/json'
    }
    result = RestClient.get '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes/{responseAttributesId}',
      params: {},
      headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
      'Accept': 'application/json'
    }
    r = requests.get('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes/{responseAttributesId}',
      params = {},
      headers = headers)
    print r.json()
    
    URL obj = new URL("//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes/{responseAttributesId}");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    

    GET /consumers/{consumerId}/responseAttributes/{responseAttributesId}

    Returns response attribute definition data that specifies response attributes returned to the consumer

    Parameters

    Parameter In Type Required
    consumerId - Consumer ID path string(uuid) true
    responseAttributesId - Response attributes object ID path string(uuid) true

    Example responses

    {
      "id": "string",
      "provider": {
        "id": "string",
        "providerType": "OAuth 2.0 with OpenID Connect",
        "applyTemplate": true,
        "templateId": "string",
        "name": "string",
        "description": "string",
        "authUrl": "string",
        "tokenUrl": "string",
        "userInfoUrl": "string",
        "clientId": "string",
        "clientSecret": "string",
        "oauthScope": "string",
        "entityId": "string",
        "publicKey": "string",
        "sigAlg": "string",
        "metadataUrl": "http://example.com"
      },
      "includeDefault": true,
      "attributeDefinitions": [
        {
          "responseAttributeType": "mapped",
          "name": "string",
          "sourceAttributeName": "string"
        }
      ]
    }
    
    {
      "error": "string",
      "error_description": "string",
      "error_uri": "string"
    }
    

    Responses

    Status Meaning Schema
    200 - Response attributes response OK ResponseAttributes
    default - Unexpected error Default Error

    Deletes consumer response attributes definition based on ID

    Code samples

    curl -X DELETE //YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes/{responseAttributesId} \
      -H 'Accept: application/json'
    
    DELETE //YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes/{responseAttributesId} HTTP/1.1
    Host: null
    Accept: application/json
    
    var headers = {
      'Accept':'application/json'
    };
    $.ajax({
      url: '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes/{responseAttributesId}',
      method: 'delete',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    const fetch = require('node-fetch');
    const headers = { 
      'Accept':'application/json'
    };
    fetch('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes/{responseAttributesId}',
      {
        method: 'DELETE',
        headers: headers
      })
    .then(function(res) {
        return res.json();
      })
    .then(function(body) {
        console.log(body);
      })
    ;
    
    require 'rest-client'
    require 'json'
    headers = {
      'Accept' => 'application/json'
    }
    result = RestClient.delete '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes/{responseAttributesId}',
      params: {},
      headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
      'Accept': 'application/json'
    }
    r = requests.delete('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes/{responseAttributesId}',
      params = {},
      headers = headers)
    print r.json()
    
    URL obj = new URL("//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes/{responseAttributesId}");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("DELETE");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    

    DELETE /consumers/{consumerId}/responseAttributes/{responseAttributesId}

    Deletes consumer response attributes definition data from the system

    Parameters

    Parameter In Type Required
    consumerId - Consumer ID path string(uuid) true
    responseAttributesId - Response attributes object ID path string(uuid) true

    Example responses

    {
      "error": "string",
      "error_description": "string",
      "error_uri": "string"
    }
    

    Responses

    Status Meaning Schema
    204 - Empty response No Content Inline
    default - Unexpected error Default Error

    Returns all response attribute definitions for a consumer

    Code samples

    curl -X GET //YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes \
      -H 'Accept: application/json'
    
    GET //YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes HTTP/1.1
    Host: null
    Accept: application/json
    
    var headers = {
      'Accept':'application/json'
    };
    $.ajax({
      url: '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    const fetch = require('node-fetch');
    const headers = { 
      'Accept':'application/json'
    };
    fetch('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes',
      {
        method: 'GET',
        headers: headers
      })
    .then(function(res) {
        return res.json();
      })
    .then(function(body) {
        console.log(body);
      })
    ;
    
    require 'rest-client'
    require 'json'
    headers = {
      'Accept' => 'application/json'
    }
    result = RestClient.get '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes',
      params: {},
      headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
      'Accept': 'application/json'
    }
    r = requests.get('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes',
      params = {},
      headers = headers)
    print r.json()
    
    URL obj = new URL("//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    

    GET /consumers/{consumerId}/responseAttributes

    Returns response attribute definition data that specifies response attributes returned to the consumer

    Parameters

    Parameter In Type Required
    consumerId - Consumer ID path string(uuid) true

    Example responses

    [
      {
        "id": "string",
        "provider": {
          "id": "string",
          "providerType": "OAuth 2.0 with OpenID Connect",
          "applyTemplate": true,
          "templateId": "string",
          "name": "string",
          "description": "string",
          "authUrl": "string",
          "tokenUrl": "string",
          "userInfoUrl": "string",
          "clientId": "string",
          "clientSecret": "string",
          "oauthScope": "string",
          "entityId": "string",
          "publicKey": "string",
          "sigAlg": "string",
          "metadataUrl": "http://example.com"
        },
        "includeDefault": true,
        "attributeDefinitions": [
          {
            "responseAttributeType": "mapped",
            "name": "string",
            "sourceAttributeName": "string"
          }
        ]
      }
    ]
    
    {
      "error": "string",
      "error_description": "string",
      "error_uri": "string"
    }
    

    Responses

    Status Meaning Schema
    200 - Response attributes array response OK ResponseAttributesArray
    default - Unexpected error Default Error

    Creates a new consumer response attributes definition

    Code samples

    curl -X POST //YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json'
    
    POST //YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes HTTP/1.1
    Host: null
    Content-Type: application/json
    Accept: application/json
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    $.ajax({
      url: '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes',
      method: 'post',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    const fetch = require('node-fetch');
    const inputBody = '{
      "id": "string",
      "provider": {
        "id": "string",
        "providerType": "OAuth 2.0 with OpenID Connect",
        "applyTemplate": true,
        "templateId": "string",
        "name": "string",
        "description": "string",
        "authUrl": "string",
        "tokenUrl": "string",
        "userInfoUrl": "string",
        "clientId": "string",
        "clientSecret": "string",
        "oauthScope": "string",
        "entityId": "string",
        "publicKey": "string",
        "sigAlg": "string",
        "metadataUrl": "http://example.com"
      },
      "includeDefault": true,
      "attributeDefinitions": [
        {
          "responseAttributeType": "mapped",
          "name": "string",
          "sourceAttributeName": "string"
        }
      ]
    }';
    const headers = { 
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    fetch('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes',
      {
        method: 'POST',
        body: inputBody,
        headers: headers
      })
    .then(function(res) {
        return res.json();
      })
    .then(function(body) {
        console.log(body);
      })
    ;
    
    require 'rest-client'
    require 'json'
    headers = {
      'Content-Type' => 'application/json',
      'Accept' => 'application/json'
    }
    result = RestClient.post '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes',
      params: {},
      headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
      'Content-Type': 'application/json',
      'Accept': 'application/json'
    }
    r = requests.post('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes',
      params = {},
      headers = headers)
    print r.json()
    
    URL obj = new URL("//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("POST");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    

    POST /consumers/{consumerId}/responseAttributes

    Creates a new response attributes definition object that defines response attributes to be returned to the consumer from a provider

    Body parameter

    {
      "id": "string",
      "provider": {
        "id": "string",
        "providerType": "OAuth 2.0 with OpenID Connect",
        "applyTemplate": true,
        "templateId": "string",
        "name": "string",
        "description": "string",
        "authUrl": "string",
        "tokenUrl": "string",
        "userInfoUrl": "string",
        "clientId": "string",
        "clientSecret": "string",
        "oauthScope": "string",
        "entityId": "string",
        "publicKey": "string",
        "sigAlg": "string",
        "metadataUrl": "http://example.com"
      },
      "includeDefault": true,
      "attributeDefinitions": [
        {
          "responseAttributeType": "mapped",
          "name": "string",
          "sourceAttributeName": "string"
        }
      ]
    }
    

    Parameters

    Parameter In Type Required
    consumerId - Consumer ID path string(uuid) true
    body - JSON describing the consumer response attributes definition to create body ResponseAttributes false

    Example responses

    {
      "id": "string",
      "provider": {
        "id": "string",
        "providerType": "OAuth 2.0 with OpenID Connect",
        "applyTemplate": true,
        "templateId": "string",
        "name": "string",
        "description": "string",
        "authUrl": "string",
        "tokenUrl": "string",
        "userInfoUrl": "string",
        "clientId": "string",
        "clientSecret": "string",
        "oauthScope": "string",
        "entityId": "string",
        "publicKey": "string",
        "sigAlg": "string",
        "metadataUrl": "http://example.com"
      },
      "includeDefault": true,
      "attributeDefinitions": [
        {
          "responseAttributeType": "mapped",
          "name": "string",
          "sourceAttributeName": "string"
        }
      ]
    }
    
    {
      "error": "string",
      "error_description": "string",
      "error_uri": "string"
    }
    

    Responses

    Status Meaning Schema
    201 - The created consumer response attributes definition Created ResponseAttributes
    default - Unexpected error Default Error

    Updates an existing consumer response attributes definition

    Code samples

    curl -X PUT //YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json'
    
    PUT //YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes HTTP/1.1
    Host: null
    Content-Type: application/json
    Accept: application/json
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    $.ajax({
      url: '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes',
      method: 'put',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    const fetch = require('node-fetch');
    const inputBody = '{
      "id": "string",
      "provider": {
        "id": "string",
        "providerType": "OAuth 2.0 with OpenID Connect",
        "applyTemplate": true,
        "templateId": "string",
        "name": "string",
        "description": "string",
        "authUrl": "string",
        "tokenUrl": "string",
        "userInfoUrl": "string",
        "clientId": "string",
        "clientSecret": "string",
        "oauthScope": "string",
        "entityId": "string",
        "publicKey": "string",
        "sigAlg": "string",
        "metadataUrl": "http://example.com"
      },
      "includeDefault": true,
      "attributeDefinitions": [
        {
          "responseAttributeType": "mapped",
          "name": "string",
          "sourceAttributeName": "string"
        }
      ]
    }';
    const headers = { 
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    fetch('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes',
      {
        method: 'PUT',
        body: inputBody,
        headers: headers
      })
    .then(function(res) {
        return res.json();
      })
    .then(function(body) {
        console.log(body);
      })
    ;
    
    require 'rest-client'
    require 'json'
    headers = {
      'Content-Type' => 'application/json',
      'Accept' => 'application/json'
    }
    result = RestClient.put '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes',
      params: {},
      headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
      'Content-Type': 'application/json',
      'Accept': 'application/json'
    }
    r = requests.put('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes',
      params = {},
      headers = headers)
    print r.json()
    
    URL obj = new URL("//YOUR_TENANT_NAME.idb.10duke.com/api/v1/consumers/{consumerId}/responseAttributes");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("PUT");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    

    PUT /consumers/{consumerId}/responseAttributes

    Updates an existing consumer response attributes definition by replacing current data with values described by the given JSON object

    Body parameter

    {
      "id": "string",
      "provider": {
        "id": "string",
        "providerType": "OAuth 2.0 with OpenID Connect",
        "applyTemplate": true,
        "templateId": "string",
        "name": "string",
        "description": "string",
        "authUrl": "string",
        "tokenUrl": "string",
        "userInfoUrl": "string",
        "clientId": "string",
        "clientSecret": "string",
        "oauthScope": "string",
        "entityId": "string",
        "publicKey": "string",
        "sigAlg": "string",
        "metadataUrl": "http://example.com"
      },
      "includeDefault": true,
      "attributeDefinitions": [
        {
          "responseAttributeType": "mapped",
          "name": "string",
          "sourceAttributeName": "string"
        }
      ]
    }
    

    Parameters

    Parameter In Type Required
    consumerId - Consumer ID path string(uuid) true
    body - JSON describing the new consumer response attributes definition body ResponseAttributes false

    Example responses

    {
      "id": "string",
      "provider": {
        "id": "string",
        "providerType": "OAuth 2.0 with OpenID Connect",
        "applyTemplate": true,
        "templateId": "string",
        "name": "string",
        "description": "string",
        "authUrl": "string",
        "tokenUrl": "string",
        "userInfoUrl": "string",
        "clientId": "string",
        "clientSecret": "string",
        "oauthScope": "string",
        "entityId": "string",
        "publicKey": "string",
        "sigAlg": "string",
        "metadataUrl": "http://example.com"
      },
      "includeDefault": true,
      "attributeDefinitions": [
        {
          "responseAttributeType": "mapped",
          "name": "string",
          "sourceAttributeName": "string"
        }
      ]
    }
    
    {
      "error": "string",
      "error_description": "string",
      "error_uri": "string"
    }
    

    Responses

    Status Meaning Schema
    200 - The updated consumer response attributes definition OK ResponseAttributes
    default - Unexpected error Default Error

    oauthClient

    Internal OAuth 2.0 client consuming this REST API

    Returns data of an internal OAuth 2.0 client consuming this REST API

    Code samples

    curl -X GET //YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients/{id} \
      -H 'Accept: application/json'
    
    GET //YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients/{id} HTTP/1.1
    Host: null
    Accept: application/json
    
    var headers = {
      'Accept':'application/json'
    };
    $.ajax({
      url: '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients/{id}',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    const fetch = require('node-fetch');
    const headers = { 
      'Accept':'application/json'
    };
    fetch('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients/{id}',
      {
        method: 'GET',
        headers: headers
      })
    .then(function(res) {
        return res.json();
      })
    .then(function(body) {
        console.log(body);
      })
    ;
    
    require 'rest-client'
    require 'json'
    headers = {
      'Accept' => 'application/json'
    }
    result = RestClient.get '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients/{id}',
      params: {},
      headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
      'Accept': 'application/json'
    }
    r = requests.get('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients/{id}',
      params = {},
      headers = headers)
    print r.json()
    
    URL obj = new URL("//YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients/{id}");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    

    GET /oauthClients/{id}

    Returns data configuring an internal OAuth 2.0 client in the system

    Parameters

    Parameter In Type Required
    id - Id of the OAuth 2.0 client object path string(uuid) true

    Example responses

    {
      "id": "string",
      "clientId": "string",
      "clientSecret": "string",
      "callbackUri": "string"
    }
    
    {
      "error": "string",
      "error_description": "string",
      "error_uri": "string"
    }
    

    Responses

    Status Meaning Schema
    200 - OAuth 2.0 client response OK OAuthClient
    default - Unexpected error Default Error

    Deletes data of an internal OAuth 2.0 client consuming this REST API

    Code samples

    curl -X DELETE //YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients/{id} \
      -H 'Accept: application/json'
    
    DELETE //YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients/{id} HTTP/1.1
    Host: null
    Accept: application/json
    
    var headers = {
      'Accept':'application/json'
    };
    $.ajax({
      url: '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients/{id}',
      method: 'delete',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    const fetch = require('node-fetch');
    const headers = { 
      'Accept':'application/json'
    };
    fetch('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients/{id}',
      {
        method: 'DELETE',
        headers: headers
      })
    .then(function(res) {
        return res.json();
      })
    .then(function(body) {
        console.log(body);
      })
    ;
    
    require 'rest-client'
    require 'json'
    headers = {
      'Accept' => 'application/json'
    }
    result = RestClient.delete '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients/{id}',
      params: {},
      headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
      'Accept': 'application/json'
    }
    r = requests.delete('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients/{id}',
      params = {},
      headers = headers)
    print r.json()
    
    URL obj = new URL("//YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients/{id}");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("DELETE");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    

    DELETE /oauthClients/{id}

    Deletes data configuring an internal OAuth 2.0 client in the system

    Parameters

    Parameter In Type Required
    id - Id of the OAuth 2.0 client object path string(uuid) true

    Example responses

    {
      "error": "string",
      "error_description": "string",
      "error_uri": "string"
    }
    

    Responses

    Status Meaning Schema
    204 - Empty response No Content Inline
    default - Unexpected error Default Error

    Returns data of all internal OAuth 2.0 clients consuming this REST API

    Code samples

    curl -X GET //YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients \
      -H 'Accept: application/json'
    
    GET //YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients HTTP/1.1
    Host: null
    Accept: application/json
    
    var headers = {
      'Accept':'application/json'
    };
    $.ajax({
      url: '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    const fetch = require('node-fetch');
    const headers = { 
      'Accept':'application/json'
    };
    fetch('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients',
      {
        method: 'GET',
        headers: headers
      })
    .then(function(res) {
        return res.json();
      })
    .then(function(body) {
        console.log(body);
      })
    ;
    
    require 'rest-client'
    require 'json'
    headers = {
      'Accept' => 'application/json'
    }
    result = RestClient.get '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients',
      params: {},
      headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
      'Accept': 'application/json'
    }
    r = requests.get('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients',
      params = {},
      headers = headers)
    print r.json()
    
    URL obj = new URL("//YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    

    GET /oauthClients

    Returns list of internal OAuth 2.0 client objects

    Example responses

    [
      {
        "id": "string",
        "clientId": "string",
        "clientSecret": "string",
        "callbackUri": "string"
      }
    ]
    
    {
      "error": "string",
      "error_description": "string",
      "error_uri": "string"
    }
    

    Responses

    Status Meaning Schema
    200 - OAuth client list response OK OAuthClients
    default - Unexpected error Default Error

    Creates configuration for a new internal OAuth 2.0 client consuming this REST API

    Code samples

    curl -X POST //YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json'
    
    POST //YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients HTTP/1.1
    Host: null
    Content-Type: application/json
    Accept: application/json
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    $.ajax({
      url: '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients',
      method: 'post',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    const fetch = require('node-fetch');
    const inputBody = '{
      "id": "string",
      "clientId": "string",
      "clientSecret": "string",
      "callbackUri": "string"
    }';
    const headers = { 
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    fetch('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients',
      {
        method: 'POST',
        body: inputBody,
        headers: headers
      })
    .then(function(res) {
        return res.json();
      })
    .then(function(body) {
        console.log(body);
      })
    ;
    
    require 'rest-client'
    require 'json'
    headers = {
      'Content-Type' => 'application/json',
      'Accept' => 'application/json'
    }
    result = RestClient.post '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients',
      params: {},
      headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
      'Content-Type': 'application/json',
      'Accept': 'application/json'
    }
    r = requests.post('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients',
      params = {},
      headers = headers)
    print r.json()
    
    URL obj = new URL("//YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("POST");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    

    POST /oauthClients

    Creates a new internal OAuth 2.0 client object

    Body parameter

    {
      "id": "string",
      "clientId": "string",
      "clientSecret": "string",
      "callbackUri": "string"
    }
    

    Parameters

    Parameter In Type Required
    body - JSON describing the OAuth client to create body OAuthClient false

    Example responses

    {
      "id": "string",
      "clientId": "string",
      "clientSecret": "string",
      "callbackUri": "string"
    }
    
    {
      "error": "string",
      "error_description": "string",
      "error_uri": "string"
    }
    

    Responses

    Status Meaning Schema
    201 - The created OAuth client Created OAuthClient
    default - Unexpected error Default Error

    Updates configuration of an existing internal OAuth 2.0 client consuming this REST API

    Code samples

    curl -X PUT //YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json'
    
    PUT //YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients HTTP/1.1
    Host: null
    Content-Type: application/json
    Accept: application/json
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    $.ajax({
      url: '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients',
      method: 'put',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    const fetch = require('node-fetch');
    const inputBody = '{
      "id": "string",
      "clientId": "string",
      "clientSecret": "string",
      "callbackUri": "string"
    }';
    const headers = { 
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    fetch('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients',
      {
        method: 'PUT',
        body: inputBody,
        headers: headers
      })
    .then(function(res) {
        return res.json();
      })
    .then(function(body) {
        console.log(body);
      })
    ;
    
    require 'rest-client'
    require 'json'
    headers = {
      'Content-Type' => 'application/json',
      'Accept' => 'application/json'
    }
    result = RestClient.put '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients',
      params: {},
      headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
      'Content-Type': 'application/json',
      'Accept': 'application/json'
    }
    r = requests.put('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients',
      params = {},
      headers = headers)
    print r.json()
    
    URL obj = new URL("//YOUR_TENANT_NAME.idb.10duke.com/api/v1/oauthClients");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("PUT");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    

    PUT /oauthClients

    Updates configuration of an existing internal OAuth 2.0 client object by replacing current data with values described by the given JSON object

    Body parameter

    {
      "id": "string",
      "clientId": "string",
      "clientSecret": "string",
      "callbackUri": "string"
    }
    

    Parameters

    Parameter In Type Required
    body - JSON describing the new OAuth client data body OAuthClient false

    Example responses

    {
      "id": "string",
      "clientId": "string",
      "clientSecret": "string",
      "callbackUri": "string"
    }
    
    {
      "error": "string",
      "error_description": "string",
      "error_uri": "string"
    }
    

    Responses

    Status Meaning Schema
    200 - The updated OAuth client OK OAuthClient
    default - Unexpected error Default Error

    consumerTemplate

    A template for configuring consumers / clients

    Returns consumer templates

    Code samples

    curl -X GET //YOUR_TENANT_NAME.idb.10duke.com/api/v1/templates/consumers \
      -H 'Accept: application/json'
    
    GET //YOUR_TENANT_NAME.idb.10duke.com/api/v1/templates/consumers HTTP/1.1
    Host: null
    Accept: application/json
    
    var headers = {
      'Accept':'application/json'
    };
    $.ajax({
      url: '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/templates/consumers',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    const fetch = require('node-fetch');
    const headers = { 
      'Accept':'application/json'
    };
    fetch('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/templates/consumers',
      {
        method: 'GET',
        headers: headers
      })
    .then(function(res) {
        return res.json();
      })
    .then(function(body) {
        console.log(body);
      })
    ;
    
    require 'rest-client'
    require 'json'
    headers = {
      'Accept' => 'application/json'
    }
    result = RestClient.get '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/templates/consumers',
      params: {},
      headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
      'Accept': 'application/json'
    }
    r = requests.get('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/templates/consumers',
      params = {},
      headers = headers)
    print r.json()
    
    URL obj = new URL("//YOUR_TENANT_NAME.idb.10duke.com/api/v1/templates/consumers");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    

    GET /templates/consumers

    Returns list of consumers templates available for configuring consumers

    Example responses

    [
      {
        "id": "string",
        "consumerType": "OAuth 2.0 with OpenID Connect",
        "applyTemplate": true,
        "templateId": "string",
        "name": "string",
        "description": "string",
        "callbackUrl": "string",
        "clientId": "string",
        "clientSecret": "string",
        "entityId": "string",
        "publicKey": "string",
        "responseBinding": "post",
        "responseDeflateMethod": "gzip",
        "responseCharacterEncoding": "string",
        "responseSigAlg": "string",
        "metadataUrl": "http://example.com"
      }
    ]
    
    {
      "error": "string",
      "error_description": "string",
      "error_uri": "string"
    }
    

    Responses

    Status Meaning Schema
    200 - Consumer template list response OK Consumers
    default - Unexpected error Default Error

    Returns consumer template data based on ID

    Code samples

    curl -X GET //YOUR_TENANT_NAME.idb.10duke.com/api/v1/templates/consumers/{id} \
      -H 'Accept: application/json'
    
    GET //YOUR_TENANT_NAME.idb.10duke.com/api/v1/templates/consumers/{id} HTTP/1.1
    Host: null
    Accept: application/json
    
    var headers = {
      'Accept':'application/json'
    };
    $.ajax({
      url: '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/templates/consumers/{id}',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    const fetch = require('node-fetch');
    const headers = { 
      'Accept':'application/json'
    };
    fetch('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/templates/consumers/{id}',
      {
        method: 'GET',
        headers: headers
      })
    .then(function(res) {
        return res.json();
      })
    .then(function(body) {
        console.log(body);
      })
    ;
    
    require 'rest-client'
    require 'json'
    headers = {
      'Accept' => 'application/json'
    }
    result = RestClient.get '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/templates/consumers/{id}',
      params: {},
      headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
      'Accept': 'application/json'
    }
    r = requests.get('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/templates/consumers/{id}',
      params = {},
      headers = headers)
    print r.json()
    
    URL obj = new URL("//YOUR_TENANT_NAME.idb.10duke.com/api/v1/templates/consumers/{id}");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    

    GET /templates/consumers/{id}

    Returns a consumer template available for configuring consumers

    Parameters

    Parameter In Type Required
    id - Consumer ID path string(uuid) true

    Example responses

    {
      "id": "string",
      "consumerType": "OAuth 2.0 with OpenID Connect",
      "applyTemplate": true,
      "templateId": "string",
      "name": "string",
      "description": "string",
      "callbackUrl": "string",
      "clientId": "string",
      "clientSecret": "string",
      "entityId": "string",
      "publicKey": "string",
      "responseBinding": "post",
      "responseDeflateMethod": "gzip",
      "responseCharacterEncoding": "string",
      "responseSigAlg": "string",
      "metadataUrl": "http://example.com"
    }
    
    {
      "error": "string",
      "error_description": "string",
      "error_uri": "string"
    }
    

    Responses

    Status Meaning Schema
    200 - Consumer template response OK Consumer
    default - Unexpected error Default Error

    providerTemplate

    A template for configuring providers

    Returns provider templates

    Code samples

    curl -X GET //YOUR_TENANT_NAME.idb.10duke.com/api/v1/templates/providers \
      -H 'Accept: application/json'
    
    GET //YOUR_TENANT_NAME.idb.10duke.com/api/v1/templates/providers HTTP/1.1
    Host: null
    Accept: application/json
    
    var headers = {
      'Accept':'application/json'
    };
    $.ajax({
      url: '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/templates/providers',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    const fetch = require('node-fetch');
    const headers = { 
      'Accept':'application/json'
    };
    fetch('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/templates/providers',
      {
        method: 'GET',
        headers: headers
      })
    .then(function(res) {
        return res.json();
      })
    .then(function(body) {
        console.log(body);
      })
    ;
    
    require 'rest-client'
    require 'json'
    headers = {
      'Accept' => 'application/json'
    }
    result = RestClient.get '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/templates/providers',
      params: {},
      headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
      'Accept': 'application/json'
    }
    r = requests.get('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/templates/providers',
      params = {},
      headers = headers)
    print r.json()
    
    URL obj = new URL("//YOUR_TENANT_NAME.idb.10duke.com/api/v1/templates/providers");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    

    GET /templates/providers

    Returns list of providers templates available for configuring providers

    Example responses

    [
      {
        "id": "string",
        "providerType": "OAuth 2.0 with OpenID Connect",
        "applyTemplate": true,
        "templateId": "string",
        "name": "string",
        "description": "string",
        "authUrl": "string",
        "tokenUrl": "string",
        "userInfoUrl": "string",
        "clientId": "string",
        "clientSecret": "string",
        "oauthScope": "string",
        "entityId": "string",
        "publicKey": "string",
        "sigAlg": "string",
        "metadataUrl": "http://example.com"
      }
    ]
    
    {
      "error": "string",
      "error_description": "string",
      "error_uri": "string"
    }
    

    Responses

    Status Meaning Schema
    200 - Provider template list response OK Providers
    default - Unexpected error Default Error

    Returns provider template data based on ID

    Code samples

    curl -X GET //YOUR_TENANT_NAME.idb.10duke.com/api/v1/templates/providers/{id} \
      -H 'Accept: application/json'
    
    GET //YOUR_TENANT_NAME.idb.10duke.com/api/v1/templates/providers/{id} HTTP/1.1
    Host: null
    Accept: application/json
    
    var headers = {
      'Accept':'application/json'
    };
    $.ajax({
      url: '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/templates/providers/{id}',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    const fetch = require('node-fetch');
    const headers = { 
      'Accept':'application/json'
    };
    fetch('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/templates/providers/{id}',
      {
        method: 'GET',
        headers: headers
      })
    .then(function(res) {
        return res.json();
      })
    .then(function(body) {
        console.log(body);
      })
    ;
    
    require 'rest-client'
    require 'json'
    headers = {
      'Accept' => 'application/json'
    }
    result = RestClient.get '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/templates/providers/{id}',
      params: {},
      headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
      'Accept': 'application/json'
    }
    r = requests.get('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/templates/providers/{id}',
      params = {},
      headers = headers)
    print r.json()
    
    URL obj = new URL("//YOUR_TENANT_NAME.idb.10duke.com/api/v1/templates/providers/{id}");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    

    GET /templates/providers/{id}

    Returns a provider template available for configuring providers

    Parameters

    Parameter In Type Required
    id - Provider ID path string(uuid) true

    Example responses

    {
      "id": "string",
      "providerType": "OAuth 2.0 with OpenID Connect",
      "applyTemplate": true,
      "templateId": "string",
      "name": "string",
      "description": "string",
      "authUrl": "string",
      "tokenUrl": "string",
      "userInfoUrl": "string",
      "clientId": "string",
      "clientSecret": "string",
      "oauthScope": "string",
      "entityId": "string",
      "publicKey": "string",
      "sigAlg": "string",
      "metadataUrl": "http://example.com"
    }
    
    {
      "error": "string",
      "error_description": "string",
      "error_uri": "string"
    }
    

    Responses

    Status Meaning Schema
    200 - Provider template response OK Provider
    default - Unexpected error Default Error

    signOn

    Data of a sign-on process

    Returns information of the latest sign-on processes

    Code samples

    curl -X GET //YOUR_TENANT_NAME.idb.10duke.com/api/v1/signOns \
      -H 'Accept: application/json'
    
    GET //YOUR_TENANT_NAME.idb.10duke.com/api/v1/signOns HTTP/1.1
    Host: null
    Accept: application/json
    
    var headers = {
      'Accept':'application/json'
    };
    $.ajax({
      url: '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/signOns',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    const fetch = require('node-fetch');
    const headers = { 
      'Accept':'application/json'
    };
    fetch('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/signOns',
      {
        method: 'GET',
        headers: headers
      })
    .then(function(res) {
        return res.json();
      })
    .then(function(body) {
        console.log(body);
      })
    ;
    
    require 'rest-client'
    require 'json'
    headers = {
      'Accept' => 'application/json'
    }
    result = RestClient.get '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/signOns',
      params: {},
      headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
      'Accept': 'application/json'
    }
    r = requests.get('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/signOns',
      params = {},
      headers = headers)
    print r.json()
    
    URL obj = new URL("//YOUR_TENANT_NAME.idb.10duke.com/api/v1/signOns");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    

    GET /signOns

    Returns list of objects containing information of latest sign-on processes for signing on from a consumer against a provider

    Example responses

    [
      {
        "id": "string",
        "updated": "2018-08-03T07:44:52Z",
        "consumerId": "string",
        "providerId": "string",
        "created": "2018-08-03T07:44:52Z",
        "status": "UNKNOWN",
        "message": "string",
        "expires": "2018-08-03T07:44:52Z",
        "error": "string",
        "error_description": "string",
        "error_uri": "string"
      }
    ]
    
    {
      "error": "string",
      "error_description": "string",
      "error_uri": "string"
    }
    

    Responses

    Status Meaning Schema
    200 - Sign-on process object list response OK SignOns
    default - Unexpected error Default Error

    signOnEvent

    Event related to a sign-on process

    Code samples

    curl -X GET //YOUR_TENANT_NAME.idb.10duke.com/api/v1/signOns/{id}/signOnEvents \
      -H 'Accept: application/json'
    
    GET //YOUR_TENANT_NAME.idb.10duke.com/api/v1/signOns/{id}/signOnEvents HTTP/1.1
    Host: null
    Accept: application/json
    
    var headers = {
      'Accept':'application/json'
    };
    $.ajax({
      url: '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/signOns/{id}/signOnEvents',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    const fetch = require('node-fetch');
    const headers = { 
      'Accept':'application/json'
    };
    fetch('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/signOns/{id}/signOnEvents',
      {
        method: 'GET',
        headers: headers
      })
    .then(function(res) {
        return res.json();
      })
    .then(function(body) {
        console.log(body);
      })
    ;
    
    require 'rest-client'
    require 'json'
    headers = {
      'Accept' => 'application/json'
    }
    result = RestClient.get '//YOUR_TENANT_NAME.idb.10duke.com/api/v1/signOns/{id}/signOnEvents',
      params: {},
      headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
      'Accept': 'application/json'
    }
    r = requests.get('//YOUR_TENANT_NAME.idb.10duke.com/api/v1/signOns/{id}/signOnEvents',
      params = {},
      headers = headers)
    print r.json()
    
    URL obj = new URL("//YOUR_TENANT_NAME.idb.10duke.com/api/v1/signOns/{id}/signOnEvents");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    

    GET /signOns/{id}/signOnEvents

    Returns list of events describing steps of a sign-on process

    Parameter In Type Required
    id - ID of the sign-on process path string(uuid) true

    Example responses

    [
      {
        "eventId": "string",
        "signOnId": "string",
        "eventAttributes": {},
        "consumerId": "string",
        "providerId": "string",
        "created": "2018-08-03T07:44:52Z",
        "status": "UNKNOWN",
        "message": "string",
        "expires": "2018-08-03T07:44:52Z",
        "error": "string",
        "error_description": "string",
        "error_uri": "string"
      }
    ]
    
    {
      "error": "string",
      "error_description": "string",
      "error_uri": "string"
    }
    
    Status Meaning Schema
    200 - Sign-on process event list response OK SignOnEvents
    default - Unexpected error Default Error

    Schemas

    Provider

    {
      "id": "string",
      "providerType": "OAuth 2.0 with OpenID Connect",
      "applyTemplate": true,
      "templateId": "string",
      "name": "string",
      "description": "string",
      "authUrl": "string",
      "tokenUrl": "string",
      "userInfoUrl": "string",
      "clientId": "string",
      "clientSecret": "string",
      "oauthScope": "string",
      "entityId": "string",
      "publicKey": "string",
      "sigAlg": "string",
      "metadataUrl": "http://example.com"
    }
    

    Properties

    Name Type Required
    id - No description string(uuid) false
    providerType - Provider type. OAuth 2.0 providers must support OpenID Connect userinfo. string true
    applyTemplate - Flag communicating whether this provider is based on a template that should be used when using the provider boolean false
    templateId - Id of the template that this provider is based on string(uuid) false
    name - Human readable name for the provider string true
    description - Free-text description of the provider, for human audience string false
    authUrl - Provider authentication / authorization endpoint URL string true
    tokenUrl - Provider token endpoint. Required for OAuth providers, not needed for SAML providers. string false
    userInfoUrl - OpenID Connect userinfo endpoint. Required for OAuth providers, not needed for SAML providers. string false
    clientId - OAuth client id. Required for OAuth providers, not needed for SAML providers. string false
    clientSecret - OAuth client secret. Required for OAuth providers, not needed for SAML providers. string false
    oauthScope - OAuth scope for the provider. Required for OAuth providers, not needed for SAML providers. string false
    entityId - SAML entity id of the provider, used as the issuer name of SAML messages from the provider. Needed for SAML providers only. string false
    publicKey - Public key or certificate of the provider, PEM encoded, used for verifying signatures or decrypting messages from the provider. Needed for SAML providers only, and only when SAML responses sent by the provider are signed. string false
    sigAlg - SAML signature algorithm used when writing SAML messages to the provider. Needed for SAML providers only. string false
    metadataUrl - URL of an HTTP endpoint for getting SAML metadata of the provider. Needed for SAML providers only. string(uri) false

    Enumerated Values

    Property Value
    providerType OAuth 2.0 with OpenID Connect
    providerType SAML 2.0

    Providers

    [
      {
        "id": "string",
        "providerType": "OAuth 2.0 with OpenID Connect",
        "applyTemplate": true,
        "templateId": "string",
        "name": "string",
        "description": "string",
        "authUrl": "string",
        "tokenUrl": "string",
        "userInfoUrl": "string",
        "clientId": "string",
        "clientSecret": "string",
        "oauthScope": "string",
        "entityId": "string",
        "publicKey": "string",
        "sigAlg": "string",
        "metadataUrl": "http://example.com"
      }
    ]
    

    Properties

    Name Type Required
    anonymous - No description [Provider] false

    Consumer

    {
      "id": "string",
      "consumerType": "OAuth 2.0 with OpenID Connect",
      "applyTemplate": true,
      "templateId": "string",
      "name": "string",
      "description": "string",
      "callbackUrl": "string",
      "clientId": "string",
      "clientSecret": "string",
      "entityId": "string",
      "publicKey": "string",
      "responseBinding": "post",
      "responseDeflateMethod": "gzip",
      "responseCharacterEncoding": "string",
      "responseSigAlg": "string",
      "metadataUrl": "http://example.com"
    }
    

    Properties

    Name Type Required
    id - No description string(uuid) false
    consumerType - Consumer type string true
    applyTemplate - Flag communicating whether this consumer is based on a template that should be used when using the consumer boolean false
    templateId - Id of the template that this consumer is based on string(uuid) false
    name - Human readable name for the consumer string true
    description - Free-text description of the consumer, for human audience string false
    callbackUrl - Consumer endpoint for callback (redirect) requests. In the case of SAML consumers, this is the consumer assertion service URL. string false
    clientId - OAuth client id. Required for OAuth consumers, not needed for SAML consumers. string false
    clientSecret - OAuth client secret. Required for OAuth consumers, not needed for SAML consumers. string false
    entityId - SAML entity id of the consumer, used as the issuer name of SAML messages from the consumer. Needed for SAML consumers only. string false
    publicKey - Public key or certificate of the consumer, PEM encoded, used for verifying signatures or decrypting messages from the consumer. Needed for SAML consumers only, and only when SAML requests sent by the consumer are signed. string false
    responseBinding - SAML response binding. Needed for SAML consumers only. string false
    responseDeflateMethod - SAML response deflate method. Needed for SAML consumers only. string false
    responseCharacterEncoding - Character encoding used when writing deflated SAML response. Needed for SAML consumers only. string false
    responseSigAlg - SAML signature algorithm used when writing SAML responses to the consumer. Needed for SAML consumers only. string false
    metadataUrl - URL of an HTTP endpoint for getting SAML metadata of the consumer. Needed for SAML consumers only. string(uri) false

    Enumerated Values

    Property Value
    consumerType OAuth 2.0 with OpenID Connect
    consumerType SAML 2.0
    responseBinding post
    responseBinding redirect
    responseDeflateMethod gzip
    responseDeflateMethod gzip-compatible
    responseDeflateMethod zlib

    Consumers

    [
      {
        "id": "string",
        "consumerType": "OAuth 2.0 with OpenID Connect",
        "applyTemplate": true,
        "templateId": "string",
        "name": "string",
        "description": "string",
        "callbackUrl": "string",
        "clientId": "string",
        "clientSecret": "string",
        "entityId": "string",
        "publicKey": "string",
        "responseBinding": "post",
        "responseDeflateMethod": "gzip",
        "responseCharacterEncoding": "string",
        "responseSigAlg": "string",
        "metadataUrl": "http://example.com"
      }
    ]
    

    Properties

    Name Type Required
    anonymous - No description [Consumer] false

    ResponseAttributes

    {
      "id": "string",
      "provider": {
        "id": "string",
        "providerType": "OAuth 2.0 with OpenID Connect",
        "applyTemplate": true,
        "templateId": "string",
        "name": "string",
        "description": "string",
        "authUrl": "string",
        "tokenUrl": "string",
        "userInfoUrl": "string",
        "clientId": "string",
        "clientSecret": "string",
        "oauthScope": "string",
        "entityId": "string",
        "publicKey": "string",
        "sigAlg": "string",
        "metadataUrl": "http://example.com"
      },
      "includeDefault": true,
      "attributeDefinitions": [
        {
          "responseAttributeType": "mapped",
          "name": "string",
          "sourceAttributeName": "string"
        }
      ]
    }
    

    Properties

    Name Type Required
    id - No description string(uuid) false
    provider - No description Provider true
    includeDefault - Flag controlling whether default one-to-one mapped attributes are included in the response boolean false
    attributeDefinitions - No description ResponseAttributeDefinitions false

    ResponseAttributesArray

    [
      {
        "id": "string",
        "provider": {
          "id": "string",
          "providerType": "OAuth 2.0 with OpenID Connect",
          "applyTemplate": true,
          "templateId": "string",
          "name": "string",
          "description": "string",
          "authUrl": "string",
          "tokenUrl": "string",
          "userInfoUrl": "string",
          "clientId": "string",
          "clientSecret": "string",
          "oauthScope": "string",
          "entityId": "string",
          "publicKey": "string",
          "sigAlg": "string",
          "metadataUrl": "http://example.com"
        },
        "includeDefault": true,
        "attributeDefinitions": [
          {
            "responseAttributeType": "mapped",
            "name": "string",
            "sourceAttributeName": "string"
          }
        ]
      }
    ]
    

    Properties

    Name Type Required
    anonymous - No description [ResponseAttributes] false

    ResponseAttributeDefinition

    {
      "responseAttributeType": "mapped",
      "name": "string",
      "sourceAttributeName": "string"
    }
    

    Properties

    Name Type Required
    responseAttributeType - Response attribute type string true
    name - The response attribute name to use when writing response to the consumer string true
    sourceAttributeName - Name of the attribute to read from the response received from the provider, and to relay to the consumer string true

    Enumerated Values

    Property Value
    responseAttributeType mapped

    ResponseAttributeDefinitions

    [
      {
        "responseAttributeType": "mapped",
        "name": "string",
        "sourceAttributeName": "string"
      }
    ]
    

    Properties

    Name Type Required
    anonymous - No description [ResponseAttributeDefinition] false

    OAuthClient

    {
      "id": "string",
      "clientId": "string",
      "clientSecret": "string",
      "callbackUri": "string"
    }
    

    Properties

    Name Type Required
    id - No description string(uuid) false
    clientId - OAuth client id, must not be a UUID string true
    clientSecret - OAuth client secret string true
    callbackUri - Client endpoint for callback (redirect) requests string false

    OAuthClients

    [
      {
        "id": "string",
        "clientId": "string",
        "clientSecret": "string",
        "callbackUri": "string"
      }
    ]
    

    Properties

    Name Type Required
    anonymous - No description [OAuthClient] false

    SignOn

    {
      "id": "string",
      "updated": "2018-08-03T07:44:52Z",
      "consumerId": "string",
      "providerId": "string",
      "created": "2018-08-03T07:44:52Z",
      "status": "UNKNOWN",
      "message": "string",
      "expires": "2018-08-03T07:44:52Z",
      "error": "string",
      "error_description": "string",
      "error_uri": "string"
    }
    

    Properties

    Name Type Required
    id - No description string(uuid) true
    updated - Sign-on process last updated timestamp string(date-time) false
    consumerId - Id of the consumer from which the sign-on process is started string(uuid) true
    providerId - Id of the provider responsible for authentication in the sign-on process string(uuid) false
    created - Sign-on process start timestamp string(date-time) true
    status - No description SignOnStatus true
    message - Message related to the sign-on process status string false
    expires - Sign-on process data expiration timestamp string(date-time) false
    error - Sign-on process error code string false
    error_description - Sign-on process error description string false
    error_uri - URI for error details string false

    SignOns

    [
      {
        "id": "string",
        "updated": "2018-08-03T07:44:52Z",
        "consumerId": "string",
        "providerId": "string",
        "created": "2018-08-03T07:44:52Z",
        "status": "UNKNOWN",
        "message": "string",
        "expires": "2018-08-03T07:44:52Z",
        "error": "string",
        "error_description": "string",
        "error_uri": "string"
      }
    ]
    

    Properties

    Name Type Required
    anonymous - No description [SignOn] false

    SignOnEvent

    {
      "eventId": "string",
      "signOnId": "string",
      "eventAttributes": {},
      "consumerId": "string",
      "providerId": "string",
      "created": "2018-08-03T07:44:52Z",
      "status": "UNKNOWN",
      "message": "string",
      "expires": "2018-08-03T07:44:52Z",
      "error": "string",
      "error_description": "string",
      "error_uri": "string"
    }
    

    Properties

    Name Type Required
    eventId - No description string(uuid) true
    signOnId - Id of the sign-on process that this event belongs to string(uuid) true
    eventAttributes - Additional event attributes object false
    consumerId - Id of the consumer from which the sign-on process is started string(uuid) true
    providerId - Id of the provider responsible for authentication in the sign-on process string(uuid) false
    created - Sign-on process start timestamp string(date-time) true
    status - No description SignOnStatus true
    message - Message related to the sign-on process status string false
    expires - Sign-on process data expiration timestamp string(date-time) false
    error - Sign-on process error code string false
    error_description - Sign-on process error description string false
    error_uri - URI for error details string false

    SignOnEvents

    [
      {
        "eventId": "string",
        "signOnId": "string",
        "eventAttributes": {},
        "consumerId": "string",
        "providerId": "string",
        "created": "2018-08-03T07:44:52Z",
        "status": "UNKNOWN",
        "message": "string",
        "expires": "2018-08-03T07:44:52Z",
        "error": "string",
        "error_description": "string",
        "error_uri": "string"
      }
    ]
    

    Properties

    Name Type Required
    anonymous - No description [SignOnEvent] false

    SignOnStatus

    "UNKNOWN"
    

    Properties

    Name Type Required
    anonymous - The sign-on process status string false

    Enumerated Values

    Property Value
    anonymous UNKNOWN
    anonymous REQUEST_ACCEPTED
    anonymous SENT_TO_PROVIDER
    anonymous PROVIDER_RESPONSE_ACCEPTED
    anonymous USER_INFO_RECEIVED
    anonymous RESPONSE_SENT_TO_CONSUMER

    Error

    {
      "error": "string",
      "error_description": "string",
      "error_uri": "string"
    }
    

    Properties

    Name Type Required
    error - Error code string true
    error_description - Error description string false
    error_uri - URI for error details string false