summaryrefslogtreecommitdiffstats
path: root/samples/ServiceProvider/App_Code/DataClasses.designer.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2008-10-06 08:47:38 -0700
committerAndrew <andrewarnott@gmail.com>2008-10-06 08:47:38 -0700
commitc4198363f4f88a54c65ba22ef7a9cd97a35e743b (patch)
tree72232d8007e9d92c2218f6b8e37412542a47c80f /samples/ServiceProvider/App_Code/DataClasses.designer.cs
parentf367f68a81e06dcab56348c85f7c09526123c916 (diff)
downloadDotNetOpenAuth-c4198363f4f88a54c65ba22ef7a9cd97a35e743b.zip
DotNetOpenAuth-c4198363f4f88a54c65ba22ef7a9cd97a35e743b.tar.gz
DotNetOpenAuth-c4198363f4f88a54c65ba22ef7a9cd97a35e743b.tar.bz2
Added specific authorization to sample for allowing limited access.
Diffstat (limited to 'samples/ServiceProvider/App_Code/DataClasses.designer.cs')
-rw-r--r--samples/ServiceProvider/App_Code/DataClasses.designer.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/samples/ServiceProvider/App_Code/DataClasses.designer.cs b/samples/ServiceProvider/App_Code/DataClasses.designer.cs
index b465471..612cd75 100644
--- a/samples/ServiceProvider/App_Code/DataClasses.designer.cs
+++ b/samples/ServiceProvider/App_Code/DataClasses.designer.cs
@@ -629,6 +629,8 @@ public partial class OAuthToken : INotifyPropertyChanging, INotifyPropertyChange
private System.Nullable<int> _UserId;
+ private string _Scope;
+
private EntityRef<OAuthConsumer> _OAuthConsumer;
private EntityRef<User> _User;
@@ -651,6 +653,8 @@ public partial class OAuthToken : INotifyPropertyChanging, INotifyPropertyChange
partial void OnConsumerIdChanged();
partial void OnUserIdChanging(System.Nullable<int> value);
partial void OnUserIdChanged();
+ partial void OnScopeChanging(string value);
+ partial void OnScopeChanged();
#endregion
public OAuthToken()
@@ -808,6 +812,26 @@ public partial class OAuthToken : INotifyPropertyChanging, INotifyPropertyChange
}
}
+ [Column(Storage="_Scope", DbType="nvarchar(MAX)", CanBeNull=false)]
+ public string Scope
+ {
+ get
+ {
+ return this._Scope;
+ }
+ set
+ {
+ if ((this._Scope != value))
+ {
+ this.OnScopeChanging(value);
+ this.SendPropertyChanging();
+ this._Scope = value;
+ this.SendPropertyChanged("Scope");
+ this.OnScopeChanged();
+ }
+ }
+ }
+
[Association(Name="OAuthConsumer_OAuthToken", Storage="_OAuthConsumer", ThisKey="ConsumerId", OtherKey="ConsumerId", IsForeignKey=true, DeleteOnNull=true, DeleteRule="CASCADE")]
public OAuthConsumer OAuthConsumer
{