oidc-lib
Version:
A library for creating OIDC Service Providers
186 lines • 3.94 kB
JavaScript
module.exports = {
"logging": "DEBUG DETAILS PROTOCOL",
"sts": {
"httpsServerUrl": "https://virtual.itsourweb.org",
"https_certificate_filename": "ief_wildcard",
"wallet_sts": true,
"codeTTL": 3600,
"nonceTTL": 3600,
"db": {
"schemaVersion": "212",
"provider": "indexed_db",
"databaseName": "wallet_op",
"collections": {
"keys": {
"keyPath": "id",
"indexes": [
{
"name": "did_index",
"keyPath": "did",
"unique": false
},
{
"name": "keys_index",
"keyPath": ["content_module_name", "app_id"],
"unique": false
},
{
"name": "roles_index",
"keyPath": ["content_module_name", "app_id", "app_role"],
"unique": true
}
]
},
"consents": {
"keyPath": "id",
"indexes": [
{
"name": "consents_index",
"keyPath": ["id"],
"unique": true
}
]
},
"clients": {
"keyPath": "client_id",
"indexes": [
{
"name": "clients_index",
"keyPath": ["client_name"]
}
]
},
"_hubMetadata": {
"keyPath": "kind",
"indexes": [
{
"name": "_hubMetadata_index",
"keyPath": ["kind", "contentModuleName"]
}
],
encryption: "RSA"
}
}
}
},
"content_modules": {
"wallet": {
"db": {
"schemaVersion": "212",
"provider": "indexed_db",
"databaseName": "wallet_content",
"collections": {
"accounts": {
"keyPath": "id",
"indexes": [
{
"name": "accounts_index",
"keyPath": ["pid"]
},
{
"name": "personas_index",
"keyPath": ["pid", "kind"]
}
]
},
"websites": {
"keyPath": "id",
"indexes": [
{
"name": "websites_index",
"keyPath": ["id"],
"unique": true
}
]
},
"credential_issuer_claims": {
"keyPath": "id",
"indexes": [
{
"name": "credential_issuer_claims_index",
"keyPath": ["issuer"]
},
{
"name": "credential_info_index",
"keyPath": ["id"]
}
]
},
"vcCache": {
"keyPath": "id",
"indexes": [
{
"name": "vcCache_index",
"keyPath": ["id"],
"unique": true
}
]
},
"pwa": {
"keyPath": "id",
"publicProperties": ["c_encrypted", "w_id", "pii"],
"indexes": [
{
"name": "pwa_index",
"keyPath": ["id"],
"unique": true
}
]
}
}
},
"db_file": {
"schemaVersion": "206",
"provider": "indexed_db",
"databaseName": "wallet_content",
"collections": {
"accounts": {
"keyPath": "id",
"indexes": [
{
"name": "accounts",
"keyPath": ["pid"]
},
{
"name": "personas",
"keyPath": ["pid", "kind"]
}
]
},
"verifier_claims": {
"keyPath": "id",
"indexes": [
{
"name": "verifier_chttps://beta.authn.io/mediatorlaims",
"keyPath": ["issuer"]
}
]
}
}
},
"chapi_mediator": "https://beta.authn.io/mediator",
"responseTypes": ["id_token", "id_token token",
"code id_token", "code token", "code id_token token"]
}
},
"localStorage": {
"schemaVersion": "206",
"provider": "indexed_db",
"databaseName": "local_storage",
"collections": {
"local_storage": {
"keyPath": "id",
"indexes": [
{
"name": "local_storage",
"keyPath": ["id"]
}
]
}
}
},
"exchange": {
"endpoints": {
}
}
};