diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2010-02-26 20:38:31 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2010-02-26 20:38:31 -0800 |
commit | e769dd8bbc744bc896454a5e5b64251d9dc13b2a (patch) | |
tree | c780ad6cb158902fd2391d69e1274cd1410d09ac /projecttemplates/MvcRelyingParty/Code/OpenIdRelyingPartyService.cs | |
parent | a1553f37eee3a0a05aae214692f5ef2e60a6a870 (diff) | |
download | DotNetOpenAuth-e769dd8bbc744bc896454a5e5b64251d9dc13b2a.zip DotNetOpenAuth-e769dd8bbc744bc896454a5e5b64251d9dc13b2a.tar.gz DotNetOpenAuth-e769dd8bbc744bc896454a5e5b64251d9dc13b2a.tar.bz2 |
Added some more scripts toward getting the OpenIdSelector working in MVC.
Diffstat (limited to 'projecttemplates/MvcRelyingParty/Code/OpenIdRelyingPartyService.cs')
-rw-r--r-- | projecttemplates/MvcRelyingParty/Code/OpenIdRelyingPartyService.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/projecttemplates/MvcRelyingParty/Code/OpenIdRelyingPartyService.cs b/projecttemplates/MvcRelyingParty/Code/OpenIdRelyingPartyService.cs index 2300e48..5e6a03d 100644 --- a/projecttemplates/MvcRelyingParty/Code/OpenIdRelyingPartyService.cs +++ b/projecttemplates/MvcRelyingParty/Code/OpenIdRelyingPartyService.cs @@ -5,10 +5,15 @@ using System.Web; using DotNetOpenAuth.OpenId; using DotNetOpenAuth.OpenId.RelyingParty; + using DotNetOpenAuth.Messaging; public interface IOpenIdRelyingParty { + Channel Channel { get; } + IAuthenticationRequest CreateRequest(Identifier userSuppliedIdentifier, Realm realm, Uri returnTo); + IEnumerable<IAuthenticationRequest> CreateRequests(Identifier userSuppliedIdentifier, Realm realm, Uri returnTo); + IAuthenticationResponse GetResponse(); } @@ -33,10 +38,18 @@ #region IOpenIdRelyingParty Members + public Channel Channel { + get { return relyingParty.Channel; } + } + public IAuthenticationRequest CreateRequest(Identifier userSuppliedIdentifier, Realm realm, Uri returnTo) { return relyingParty.CreateRequest(userSuppliedIdentifier, realm, returnTo); } + public IEnumerable<IAuthenticationRequest> CreateRequests(Identifier userSuppliedIdentifier, Realm realm, Uri returnTo) { + return relyingParty.CreateRequests(userSuppliedIdentifier, realm, returnTo); + } + public IAuthenticationResponse GetResponse() { return relyingParty.GetResponse(); } |