public string GetLoginUrl() { var urlSettings = new Itsme.UrlConfiguration(); urlSettings.ServiceCode = "MY_SERVICE_CODE"; urlSettings.Scopes = new string[] { "profile", "email", "address", "phone", "eid" }; return(_itsmeClient.GetAuthenticationURL(urlSettings)); }
public string GetLoginUrl() { var urlSettings = new Itsme.UrlConfiguration(); urlSettings.ServiceCode = "MY_SERVICE_CODE"; urlSettings.Scopes = new List <Itsme.Scope>() { Itsme.Scope.profile, Itsme.Scope.email, Itsme.Scope.address, Itsme.Scope.phone }; urlSettings.RequestUri = "https://example.com:443/production/request_uri"; urlSettings.RedirectUri = "https://example.com/production/redirect"; return(_itsmeClient.GetAuthenticationURL(urlSettings)); }