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 | |
---|---|---|
![]() |
ClientId | The unique identifier of the client application |
![]() |
ClientSecret | The shared secret (shared between the TFS server and the client application) |
![]() |
Description | A description of the application |
![]() |
GrantTypes | The authorization grant types this application supports. |
![]() |
HasIcon | Indicates if an image is associated with the application |
![]() |
Organization | The organization associated with the application |
![]() |
OrganizationUri | The URI of the organization's Web site (if any) |
![]() |
OwnerId | The TFS user who owns the registered application |
![]() |
RedirectUri | The callback URI which should be used when obtaining authorization grants |
![]() |
Title | A friendly title |
![]() |
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. |
![]() |
WebSite | The URI of the registered application's Web site |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() |
GetIcon | Get the icon image associated with the application |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
RemoveIcon | Removes the icon from the application |
![]() |
SaveIcon | Save the given icon image |
![]() |
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.