OAuthBase Clone Method (NameValueCollection, String)Nemiro.OAuth
Creates a shallow copy of the current object.

Namespace: Nemiro.OAuth
Assembly: Nemiro.OAuth (in Nemiro.OAuth.dll) Version: (

public OAuthBase Clone(
	NameValueCollection parameters,
	string returnUrl

Return Value

Type: OAuthBase
A shallow copy of the current object.

Method creates a copy of the current object, removes tokens, change the return address, query parameters and state.

Unfortunately, I made a mistake in architecture, so I had to make this method.

See Also