domain | shortname | name | status | editor | contributors | |
---|---|---|---|---|---|---|
rfc.opencannabis.info |
9/OCS-O |
OpenCannabis Oauth Extension |
raw |
Randal Stevens <[email protected]> |
|
- Version
1.0
- Status:
RAW
This specification's current status is considered RAW
, i.e. pre-DRAFT
. Distribution of this memo is unlimited.
This document describes an extension to the OpenCannabis Specification, version 1, that introduces oauth-related definitions structures, and services that compose, create and reference oath.
"Oauth" in this context, refers to:
- The client who is authorizing the request I.E. Google
- The scope of the authorization
- Protocol Definition:
oauth
: OAuth2 implementation structures.
{% nomnoml %}
#fill: #d5e7ee; #8ebff2 [Client | client_id:string | client_secret:string]
[ClientID | id:string]
[ClientService | secret:string]
{% endnomnoml %}
Specifies an OAuth2-client that can perform authorization operations in certain circumstances.
Field | Type | Label | Description |
---|---|---|---|
client_id | string | ID for this OAuth2 client. | |
client_secret | string | Secret (password) for this OAuth2 client. |
Independent ID structure for an OAuth2 client.
Field | Type | Label | Description |
---|---|---|---|
id | string | ID for the OAuth2 client. |
Independent secret value structure for an OAuth2 client.
Field | Type | Label | Description |
---|---|---|---|
secret | string | Secret value for the the OAuth2 client. |