OAuth2BearerCredentials class
Provides the base implementation of OAuth 2.0 bearer token credentials used for Web client authentication.
Inheritance hierarchy
System.Object
Microsoft.SharePoint.IdentityModel.OAuth2.OAuth2BearerCredentials
Microsoft.SharePoint.IdentityModel.OAuth2.SPOAuth2BearerCredentials
Namespace: Microsoft.SharePoint.IdentityModel.OAuth2
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public MustInherit Class OAuth2BearerCredentials _
Implements ICredentials
'Usage
Dim instance As OAuth2BearerCredentials
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public abstract class OAuth2BearerCredentials : ICredentials
Remarks
The OAuth 2.0 Bearer Token Protocol (draft-ietf-oauth-v2-bearer) is defined at http://self-issued.info/docs/draft-ietf-oauth-v2-bearer.html.
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.