asp.net mvc - Claim based authentication in webrequest -
how webrequest can make between these twi applications...
sample code:
httpwebrequest webrqst = (httpwebrequest)webrequest.create(endpoint); webrqst.usedefaultcredentials = true; webrqst.method = "get"; webrqst.accept = "*/*"; webrqst.keepalive = true; using (webresponse response = request.getresponse()) { using (stream stream = response.getresponsestream()) { using (streamreader reader = new streamreader(stream)) { console.writeline(reader.readtoend()); } } }
while making request looking login page. response login form in sts. thank you.
is trying do? http://www.cloudidentity.com/blog/2013/01/09/using-the-jwt-handler-for-implementing-poor-man-s-delegation-actas/
Comments
Post a Comment