OAuth-specific security principal, representing a single
user and membership roles.
| C# | Visual Basic | Visual C++ |
public class OAuthPrincipal : IPrincipal
Public Class OAuthPrincipal _ Implements IPrincipal
public ref class OAuthPrincipal : IPrincipal
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| OAuthPrincipal(String, array<String>[]()[]) |
Creates a new instance of OAuthPrincipal.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() | (Inherited from Object.) | |
| GetHashCode()()() | (Inherited from Object.) | |
| GetType()()() | (Inherited from Object.) | |
| Identity |
The identity object representing this user account.
| |
| IsInRole(String) |
Checks the Roles provider to see if the account is in a given role.
Always returns "true" if "OAuthUser" is specified.
| |
| MemberwiseClone()()() | (Inherited from Object.) | |
| Scope()()() |
The scope of the credentials. A list of site-specific operations that these credentials can perform.
| |
| ToString()()() | (Inherited from Object.) |
| Object | |
| OAuthPrincipal | |