Freigeben über


GoogleOAuth2AuthenticatedContext.User Property

 

Gets the JSON-serialized user

Namespace:   Microsoft.Owin.Security.Google
Assembly:  Microsoft.Owin.Security.Google (in Microsoft.Owin.Security.Google.dll)

Syntax

public JObject User { get; private set; }
public:
property JObject^ User {
    JObject^ get();
    private: void set(JObject^ value);
}
member User : JObject with get, private set
Public Property User As JObject
    Get
    Private Set
End Property

Property Value

Type: Newtonsoft.Json.Linq.JObject

Returns JObject.

Remarks

Contains the Google user obtained from the endpoint https://www.googleapis.com/oauth2/v3/userinfo

See Also

GoogleOAuth2AuthenticatedContext Class
Microsoft.Owin.Security.Google Namespace

Return to top