components:
securitySchemes:
OAuth2:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://example.com/oauth/authorize
tokenUrl: https://example.com/oauth/token
scopes:
'create:credentials': Grants permission to create credentials
'derive:credentials': Grants permission to derive credentials
'create:presentations': Grants permission to create presentations
'verify:presentations': Grants permission to verify presentations
'exchange:presentations': Grants permission to exchange presentations
Last active
July 21, 2021 19:57
-
-
Save OR13/5c01814fb1cf929c4d0cc15ecca6a73d to your computer and use it in GitHub Desktop.
vc-http-api scopes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
type
parameter in RAR/GNAP defines what else is allowed to go into the object. Herevha
being a stand-in for something more likehttps://w3c.org/ccg/vh-http-api
, to be defined by the spec. It's a namespacing device, and a URL is used there to avoid conflicts. It's not expected to download or mechanically process what's at the URL, it's just to keep it out of other people's spaces. This spec could usevha
but it's not recommended because the Virtual Hats API could also try to usevha
and that would be confusing. :)