From cb85eeb1ce6c9569f5cdded96e79f6fda6f352e0 Mon Sep 17 00:00:00 2001 From: "Aeneas Rekkas (arekkas)" Date: Mon, 5 Jun 2017 23:41:23 +0200 Subject: [PATCH] docs: add scopes to oauth2 --- doc.go | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/doc.go b/doc.go index cccfea7e7e9..e934550cae9 100644 --- a/doc.go +++ b/doc.go @@ -28,16 +28,6 @@ // authorizationUrl: /oauth2/auth // tokenUrl: /oauth2/token // flow: accessCode -// Extensions: -// --- -// x-request-id: string -// x-forwarded-proto: string -// --- -// -// swagger:meta -package main - - // scopes: // hydra.clients: "A scope required to manage OAuth 2.0 Clients" // hydra.policies: "A scope required to manage access control policies" @@ -49,4 +39,12 @@ package main // hydra.keys.update: "A scope required to get JSON Web Keys" // offline: "A scope required when requesting refresh tokens" // openid: "Request an OpenID Connect ID Token" -// \ No newline at end of file +// +// Extensions: +// --- +// x-request-id: string +// x-forwarded-proto: string +// --- +// +// swagger:meta +package main \ No newline at end of file