SPOAuth2BearerCredentials class

Provides credentials for authentication with a service that supports OAuth 2.0 bearer token 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)> _
Public NotInheritable Class SPOAuth2BearerCredentials _
    Inherits OAuth2BearerCredentials
'Usage
Dim instance As SPOAuth2BearerCredentials
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPOAuth2BearerCredentials : OAuth2BearerCredentials

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

SPOAuth2BearerCredentials members

Microsoft.SharePoint.IdentityModel.OAuth2 namespace