This documentation is archived and is not being maintained.

OAuthApplication Class

Represents a registered OAuth client application

System::Object
  Microsoft.TeamFoundation.Framework.Server::OAuthApplication

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

public ref class OAuthApplication

The OAuthApplication type exposes the following members.

  NameDescription
Public propertyClientIdThe unique identifier of the client application
Public propertyClientSecretThe shared secret (shared between the TFS server and the client application)
Public propertyDescriptionA description of the application
Public propertyGrantTypesThe authorization grant types this application supports.
Public propertyHasIconIndicates if an image is associated with the application
Public propertyOrganizationThe organization associated with the application
Public propertyOrganizationUriThe URI of the organization's Web site (if any)
Public propertyOwnerIdThe TFS user who owns the registered application
Public propertyRedirectUriThe callback URI which should be used when obtaining authorization grants
Public propertyTitleA friendly title
Public propertyTokenLifeTimeThe life-time of the application's access tokens in seconds. -1 means no life-time is specified. 0 means the tokens will never expire.
Public propertyWebSiteThe URI of the registered application's Web site
Top

  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetIconGet the icon image associated with the application
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodRemoveIconRemoves the icon from the application
Public methodSaveIconSave the given icon image
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: