Ejemplo n.º 1
0
 public GoogleAuthorizationCodeService(Controller controller, FlowMetadata flowData)
 {
     Flow        = flowData.Flow;
     RedirectUri = new Uri($"{controller.Request.Url?.GetLeftPart(UriPartial.Authority)}{flowData.AuthCallback}").ToString();
     State       = controller.Request.Url?.ToString();
     UserId      = flowData.GetUserId(controller);
 }