Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TokenAdminRevocationRule

A rule which is applied to disable any incoming delegated authorization which matches the given properties.

Hierarchy

  • TokenAdminRevocationRule

Index

Properties

Properties

Optional createdBefore

createdBefore: Date

A datetime cutoff. Tokens created before this time will be rejected. This is an optional paramter. If omitted, defaults to the time at which the rule was created.

Optional scopes

scopes: string

A string containing a space-delimited list of OAuth scopes. A token matching any one of the scopes will be rejected. For a list of all OAuth scopes supported by VSTS, see: https://docs.microsoft.com/en-us/vsts/integrate/get-started/authentication/oauth?view=vsts#scopes. This is a mandatory parameter.

Generated using TypeDoc