Ejemplo n.º 1
0
        public void Setup()
        {
            this.serviceInfo = new ServiceInfo
            {
                AppId = "12345",
                AuthenticationServiceUrl = "https://login.live.com/authenticate",
                ReturnUrl       = "https://login.live.com/return",
                Scopes          = new string[] { "scope1", "scope2" },
                SignOutUrl      = "https://login.live.com/signout",
                TokenServiceUrl = "https://login.live.com/token",
            };

            this.oAuthRequestStringBuilder = new OAuthRequestStringBuilder(this.serviceInfo);
        }
        public void Setup()
        {
            this.serviceInfo = new ServiceInfo
            {
                AppId = "12345",
                AuthenticationServiceUrl = "https://login.live.com/authenticate",
                ReturnUrl = "https://login.live.com/return",
                Scopes = new string[] { "scope1", "scope2" },
                SignOutUrl = "https://login.live.com/signout",
                TokenServiceUrl = "https://login.live.com/token",
            };

            this.oAuthRequestStringBuilder = new OAuthRequestStringBuilder(this.serviceInfo);
        }