Exemple #1
0
        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));
        }
Exemple #2
0
        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));
        }