Skip to content

Latest commit

 

History

History
84 lines (57 loc) · 2.07 KB

README.md

File metadata and controls

84 lines (57 loc) · 2.07 KB
domain shortname name status editor contributors
rfc.opencannabis.info
9/OCS-O
OpenCannabis Oauth Extension
raw
Randal Stevens <[email protected]>
Sam Gammon <[email protected]>

OpenCannabis: Oauth Extension

  • Version 1.0
  • Status: RAW

Status of this Memo

This specification's current status is considered RAW, i.e. pre-DRAFT. Distribution of this memo is unlimited.

Abstract

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

Table of Contents


Protocol Definition

opencannabis.oauth

{% nomnoml %}

#fill: #d5e7ee; #8ebff2 [Client | client_id:string | client_secret:string]

[ClientID | id:string]

[ClientService | secret:string]

{% endnomnoml %}

Client

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.

ClientID

Independent ID structure for an OAuth2 client.

Field Type Label Description
id string ID for the OAuth2 client.

ClientSecret

Independent secret value structure for an OAuth2 client.

Field Type Label Description
secret string Secret value for the the OAuth2 client.