Share via


SPOAuth2BearerCredentials members

Provides credentials for authentication with a service that supports OAuth 2.0 bearer token authentication.

The SPOAuth2BearerCredentials type exposes the following members.

Methods

  Name Description
Public methodStatic member Create() Gets credentials for authenticating to an OAuth 2.0 endpoint using a bearer token.
Public methodStatic member Create(SPIdentityContext) Gets credentials for authenticating to an OAuth 2.0 endpoint.
Public methodStatic member Create(String, String) Gets credentials for authenticating to an OAuth 2.0 endpoint using a bearer token and using the specified client id and realm.
Public methodStatic member Create(SPIdentityContext, String, String) Gets credentials for authenticating to an OAuth 2.0 endpoint.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetCredential Gets a [System.Net.NetworkCredential] object that is associated with the specified URI and authentication type. (Inherited from OAuth2BearerCredentials.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public methodStatic member ReadFrom Reads OAuth 2.0 credentials from a stream using the specified identity claims resolver.
Public method ToString (Overrides Object.ToString().)
Public method WriteTo Writes OAuth 2.0 credentials to a stream using the specified identity claims resolver.

Top

See also

Reference

SPOAuth2BearerCredentials class

Microsoft.SharePoint.IdentityModel.OAuth2 namespace