An OAuth Consumer for .NET 2.0
DBServerTokenStore Class
NamespacesExtremeSwank.OAuthDBServerTokenStore
Stores tokens in a .NET compatible SQL database.
Declaration Syntax
C#Visual BasicVisual C++
public class DBServerTokenStore : IServerTokenStore, 
	IDisposable
Public Class DBServerTokenStore _
	Implements IServerTokenStore, IDisposable
public ref class DBServerTokenStore : IServerTokenStore, 
	IDisposable
Members
All MembersConstructorsMethods



IconMemberDescription
DBServerTokenStore(IDbConnection, String)
Creates a new instance of DBServerTokenStore.

DBServerTokenStore()()()
Creates a new instance of DBServerTokenStore, getting configuration from the ASP.NET web.config file.

ConfigureDB()()()
Create the table in the current database connection, using the current table name.

DeleteAccessToken(String)
Delete a stored AccessToken entry.

DeleteConsumerRegistration(String)
Delete a stored ConsumerRegistration entry.

DeleteRequestToken(String)
Delete a stored RequestToken entry.

Dispose()()()
Clean up all used unmanaged resources.

Dispose(Boolean)
Implements proper Dispose pattern.

Equals(Object) (Inherited from Object.)
Finalize()()() (Inherited from Object.)
FindAccessToken(String)
Retrieve a stored AccessToken entry.

FindConsumerRegistration(String)
Retrieve a stored ConsumerRegistration entry.

FindRequestToken(String)
Retrieve a stored RequestToken entry.

GetHashCode()()() (Inherited from Object.)
GetType()()() (Inherited from Object.)
MemberwiseClone()()() (Inherited from Object.)
SetupDB(IDbConnection, String)
Create the table in the supplied database connection, using the supplied table name.

SetupDB()()()
Read the configuration out of the web.config file and create the table in the database.

StoreAccessToken(ServerAccessToken)
Save a modified or new AccessToken entry.

StoreConsumerRegistration(ConsumerRegistration)
Save a modified or new ConsumerRegistration entry.

StoreRequestToken(ServerRequestToken)
Save a modified or new RequestToken entry.

ToString()()() (Inherited from Object.)
Remarks
Requires a single table with three varchar fields: Key (255), Type (255), and ObjectData (4000 or TEXT). Indexes should be present on the Key and Type columns.
Inheritance Hierarchy
Object
DBServerTokenStore

Assembly: ExtremeSwank.OAuth (Module: ExtremeSwank.OAuth) Version: 1.2.0.0 (1.2.0.0)