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

Client client_id:string client_secret:string ClientID id:string ClientService secret:string

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.

results matching ""

    No results matching ""