OAuthApplication Class

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
Public property ClientId The unique identifier of the client application
Public property ClientSecret The shared secret (shared between the TFS server and the client application)
Public property Description A description of the application
Public property HasIcon Indicates if an image is associated with the application
Public property Organization The organization associated with the application
Public property OrganizationUri The URI of the organization's Web site (if any)
Public property OwnerId The TFS user who owns the registered application
Public property RedirectUri The callback URI which should be used when obtaining authorization grants
Public property Title A friendly title
Public property WebSite The URI of the registered application's Web site

Top

Methods

Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetIcon Get the icon image associated with the application
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method RemoveIcon Removes the icon from the application
Public method SaveIcon Save the given icon image
Public method 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.

See Also

Reference

Microsoft.TeamFoundation.Framework.Server Namespace