MicrosoftAccountAuthenticatedContext Constructor (IOwinContext, JObject, String, String, String)
Initializes a MicrosoftAccountAuthenticatedContext
Namespace: Microsoft.Owin.Security.MicrosoftAccount
Assembly: Microsoft.Owin.Security.MicrosoftAccount (in Microsoft.Owin.Security.MicrosoftAccount.dll)
Syntax
public MicrosoftAccountAuthenticatedContext(
IOwinContext context,
JObject user,
string accessToken,
string refreshToken,
string expires
)
public:
MicrosoftAccountAuthenticatedContext(
IOwinContext^ context,
JObject^ user,
String^ accessToken,
String^ refreshToken,
String^ expires
)
new :
context:IOwinContext *
user:JObject *
accessToken:string *
refreshToken:string *
expires:string -> MicrosoftAccountAuthenticatedContext
Public Sub New (
context As IOwinContext,
user As JObject,
accessToken As String,
refreshToken As String,
expires As String
)
Parameters
context
Type: Microsoft.Owin.IOwinContextThe OWIN environment
user
Type: Newtonsoft.Json.Linq.JObjectThe JSON-serialized user
accessToken
Type: System.StringThe access token provided by the Microsoft authentication service
refreshToken
Type: System.StringThe refresh token provided by Microsoft authentication service
expires
Type: System.StringSeconds until expiration
See Also
MicrosoftAccountAuthenticatedContext Class
Microsoft.Owin.Security.MicrosoftAccount Namespace
Return to top