added identifier prop to resource servers in auth0 (#22842)

* added identifier prop to resource servers in auth0

* require identifier for new resource servers
This commit is contained in:
Donald Pipowitch 2018-01-13 01:21:46 +01:00 committed by Ryan Cavanaugh
parent 2996e4ab42
commit 30a18caa99

View File

@ -178,6 +178,10 @@ export interface Client {
}
export interface ResourceServer {
/**
* The identifier of the resource server.
*/
identifier?: string;
scopes?: { description: string, value: string }[];
/**
* The algorithm used to sign tokens.
@ -217,7 +221,7 @@ export interface CreateResourceServer extends ResourceServer {
/**
* The identifier of the client.
*/
identifier?: string;
identifier: string;
}
export interface CreateClientGrant {