C# Class OurUmbraco.Our.GoogleOAuth.UmbracoGoogleAuthExtensions

显示文件 Open project: umbraco/OurUmbraco Class Usage Examples

Public Methods

Method Description
ConfigureBackOfficeGoogleAuth ( this app, string clientId, string clientSecret, string caption = "Google", string style = "btn-google-plus", string icon = "fa-google-plus" ) : void

Configure google sign-in

Nuget installation: Microsoft.Owin.Security.Google Google account documentation for ASP.Net Identity can be found: http://www.asp.net/web-api/overview/security/external-authentication-services#GOOGLE Google apps can be created here: https://developers.google.com/accounts/docs/OpenIDConnect#getcredentials

Method Details

ConfigureBackOfficeGoogleAuth() public static method

Configure google sign-in
Nuget installation: Microsoft.Owin.Security.Google Google account documentation for ASP.Net Identity can be found: http://www.asp.net/web-api/overview/security/external-authentication-services#GOOGLE Google apps can be created here: https://developers.google.com/accounts/docs/OpenIDConnect#getcredentials
public static ConfigureBackOfficeGoogleAuth ( this app, string clientId, string clientSecret, string caption = "Google", string style = "btn-google-plus", string icon = "fa-google-plus" ) : void
app this
clientId string
clientSecret string
caption string
style string
icon string
return void