The XAuth Protocol
draft-hardt-xauth-protocol-02

Document Type Active Internet-Draft (individual)
Last updated 2020-02-07
Stream (None)
Intended RFC status (None)
Formats plain text html xml pdf htmlized bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Network Working Group                                      D. Hardt, Ed.
Internet-Draft                                                SignIn.Org
Intended status: Standards Track                         8 February 2020
Expires: 11 August 2020

                           The XAuth Protocol
                     draft-hardt-xauth-protocol-02

Abstract

   Client software often desires resources or identity claims that are
   independent of the client.  This protocol allows a user and/or
   resource owner to delegate resource authorization and/or release of
   identity claims to a server.  Client software can then request access
   to resources and/or identity claims by calling the server.  The
   server acquires consent and authorization from the user and/or
   resource owner if required, and then returns to the client software
   the authorization and identity claims that were approved.  This
   protocol can be extended to support alternative authorizations,
   claims, interactions, and client authentication mechanisms.

Note to Readers

   Source for this draft and an issue tracker can be found at
   https://github.com/dickhardt/hardt-xauth-protocol
   (https://github.com/dickhardt/hardt-xauth-protocol).

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at https://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on 11 August 2020.

Hardt                    Expires 11 August 2020                 [Page 1]
Internet-Draft             The XAuth Protocol              February 2020

Copyright Notice

   Copyright (c) 2020 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents (https://trustee.ietf.org/
   license-info) in effect on the date of publication of this document.
   Please review these documents carefully, as they describe your rights
   and restrictions with respect to this document.  Code Components
   extracted from this document must include Simplified BSD License text
   as described in Section 4.e of the Trust Legal Provisions and are
   provided without warranty as described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   4
   2.  Terminology . . . . . . . . . . . . . . . . . . . . . . . . .   4
     2.1.  Parties . . . . . . . . . . . . . . . . . . . . . . . . .   5
     2.2.  Reused Terms  . . . . . . . . . . . . . . . . . . . . . .   6
     2.3.  New Terms . . . . . . . . . . . . . . . . . . . . . . . .   6
   3.  Sequences . . . . . . . . . . . . . . . . . . . . . . . . . .   7
     3.1.  Create Grant  . . . . . . . . . . . . . . . . . . . . . .   7
     3.2.  Reciprocal Grant  . . . . . . . . . . . . . . . . . . . .   8
     3.3.  GS Initiated Grant  . . . . . . . . . . . . . . . . . . .  10
     3.4.  Create and Update . . . . . . . . . . . . . . . . . . . .  10
     3.5.  Create and Delete . . . . . . . . . . . . . . . . . . . .  12
     3.6.  Create, Discover, and Delete  . . . . . . . . . . . . . .  14
     3.7.  Create and Wait . . . . . . . . . . . . . . . . . . . . .  14
     3.8.  Read Grant  . . . . . . . . . . . . . . . . . . . . . . .  15
     3.9.  Access Token Refresh  . . . . . . . . . . . . . . . . . .  16
     3.10. GS API Table  . . . . . . . . . . . . . . . . . . . . . .  16
   4.  Grant and AuthZ Life Cycle  . . . . . . . . . . . . . . . . .  17
   5.  GS APIs . . . . . . . . . . . . . . . . . . . . . . . . . . .  18
     5.1.  Create Grant  . . . . . . . . . . . . . . . . . . . . . .  18
     5.2.  Read Grant  . . . . . . . . . . . . . . . . . . . . . . .  20
     5.3.  Update Grant  . . . . . . . . . . . . . . . . . . . . . .  20
     5.4.  Delete Grant  . . . . . . . . . . . . . . . . . . . . . .  21
     5.5.  Request JSON  . . . . . . . . . . . . . . . . . . . . . .  22
       5.5.1.  "client" Object . . . . . . . . . . . . . . . . . . .  22
       5.5.2.  "interaction" Object  . . . . . . . . . . . . . . . .  22
       5.5.3.  "user" Object . . . . . . . . . . . . . . . . . . . .  23
       5.5.4.  "authorization" Object  . . . . . . . . . . . . . . .  23
       5.5.5.  "authorizations" Object . . . . . . . . . . . . . . .  24
       5.5.6.  "claims" Object . . . . . . . . . . . . . . . . . . .  24
       5.5.7.  "reciprocal" Object . . . . . . . . . . . . . . . . .  24
Show full document text