Skip to content
This repository has been archived by the owner on Mar 4, 2021. It is now read-only.

Commit

Permalink
Template config
Browse files Browse the repository at this point in the history
  • Loading branch information
Exulansis committed Oct 5, 2018
1 parent 1d58a18 commit eef13c2
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# See https://help.github.com/ignore-files/ for more about ignoring files.

# sensitive data
/config.ts
/dist
/dump.rdb
# dependencies
Expand Down
17 changes: 17 additions & 0 deletions config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Private key associated with the service's identity
export const privateIdentityKey = Buffer.from('7A59BC95029803EC082BFEBBA8094F9D6B58AAB1A23B7CA2D9C6B96F21E1A0A4', 'hex')

// Where is your service deployed. E.g. https://demo-sso.jolocom.com
export const serviceUrl = 'http://localhost:9000'

// What credentials do you require during authentication, and associated constraints
export const credentialRequirements = [
{
type: ['Credential', 'ProofOfEmailCredential'],
constraints: [{ '==': [true, true] }]
},
{
type: ['Credential', 'ProofOfNameCredential'],
constraints: [{ '==': [true, true] }]
}
]

0 comments on commit eef13c2

Please sign in to comment.