# HG changeset patch # User jbe # Date 1344603607 -7200 # Node ID b1360dc846becda3483a767ab2ad686aacebdd5d # Parent fd496b372780a0561cbc9bdea95f01caf12347e5 Added field "code_grant_multiple" to "api_client" diff -r fd496b372780 -r b1360dc846be core.sql --- a/core.sql Thu Aug 09 02:59:06 2012 +0200 +++ b/core.sql Fri Aug 10 15:00:07 2012 +0200 @@ -186,6 +186,7 @@ "implicit_grant" BOOLEAN NOT NULL, "client_grant" BOOLEAN NOT NULL, "code_grant_validity_period" INTERVAL, + "code_grant_multiple" BOOLEAN, "access_level" "api_access_level", "client_grant_access_level" "api_access_level", "last_usage" TIMESTAMPTZ NOT NULL, @@ -210,6 +211,7 @@ COMMENT ON COLUMN "api_client"."implicit_grant" IS 'Enable OAuth2 Implicit Grant'; COMMENT ON COLUMN "api_client"."client_grant" IS 'Enable OAuth2 Client Credentials Grant'; COMMENT ON COLUMN "api_client"."code_grant_validity_period" IS 'Maximum validity period of OAuth2 Authorization Code Grant, after which no more refresh is possible'; +COMMENT ON COLUMN "api_client"."code_grant_multiple" IS 'If set to FALSE, invalidates previously issued OAuth2 Refresh Tokens during authorization; If set to NULL, the member is asked interactively during authorization, whether previously issued authorizations shall be revoked'; COMMENT ON COLUMN "api_client"."access_level" IS 'Maximum access level for OAuth2 Authorization Code Grant and Implicit Grant'; COMMENT ON COLUMN "api_client"."client_grant_access_level" IS 'Maximum access level for OAuth2 Authorization Code Grant and Implicit Grant'; COMMENT ON COLUMN "api_client"."last_usage" IS 'Date/time when this client registration was last used';