// This class is sealed because implementors of IRequestStateStore cannot // be expected to be able to store arbitrary additional data that may be // added in derived classes. /// <summary> /// Constructs a request state object using the specified /// request state key. The key identifies the service realm and request /// to which the state pertains. /// </summary> /// <param name="key"></param> public RequestState(RequestStateKey key) { if (key == null) { throw new ArgumentNullException("key"); } this.Key = key; }
protected OAuthRequest( EndPoint resourceEndPoint, OAuthService settings, string verifier, IRequestStateStore stateStore, RequestStateKey stateKey) { this.ResourceEndPoint = resourceEndPoint; this.Service = settings; this.RequestTokenVerifier = verifier; this.stateStore = stateStore; this.state = stateStore.Get(stateKey); }
public void Delete(RequestStateKey key) { throw new NotImplementedException(); }
public RequestState Get(RequestStateKey key) { throw new NotImplementedException(); }