forked from saberistic/solana-secrets-engine
-
Notifications
You must be signed in to change notification settings - Fork 1
API
AmirSaber Sharifi edited this page Feb 11, 2024
·
2 revisions
POST /init
content-type: application/json
{
"username": "johnsmith"
}
Response 200:
responses with options to pass to navigator.credentials.create() of browser
POST /create
content-type: application/json
{
username: "johnsmith",
credential, //response from browser credentials.create func
}
POST /check
content-type: application/json
{
username: "johnsmith"
}
POST /signin
content-type: application/json
{
username: "johnsmith",
rawTx: "XXXXX"
}
POST /complete
content-type: application/json
{
username: "johnsmith",
credential, //response from navigator.credentials.get()
}