Represents a registered OAuth client application
Inheritance Hierarchy
System.Object
  Microsoft.TeamFoundation.Framework.Server.OAuthApplication
Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Class OAuthApplication
public class OAuthApplication
public ref class OAuthApplication
type OAuthApplication =  class end
public class OAuthApplication
The OAuthApplication type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | ClientId | The unique identifier of the client application | 
| .gif) | ClientSecret | The shared secret (shared between the TFS server and the client application) | 
| .gif) | Description | A description of the application | 
| .gif) | GrantTypes | The authorization grant types this application supports. | 
| .gif) | HasIcon | Indicates if an image is associated with the application | 
| .gif) | Organization | The organization associated with the application | 
| .gif) | OrganizationUri | The URI of the organization's Web site (if any) | 
| .gif) | OwnerId | The TFS user who owns the registered application | 
| .gif) | RedirectUri | The callback URI which should be used when obtaining authorization grants | 
| .gif) | Title | A friendly title | 
| .gif) | TokenLifeTime | The life-time of the application's access tokens in seconds. -1 means no life-time is specified. 0 means the tokens will never expire. | 
| .gif) | WebSite | The URI of the registered application's Web site | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
| .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
| .gif) | GetIcon | Get the icon image associated with the application | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | RemoveIcon | Removes the icon from the application | 
| .gif) | SaveIcon | Save the given icon image | 
| .gif) | ToString | Returns a string that represents the current object. (Inherited from Object.) | 
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.