public void Upgrade( OwinOpaqueParameters parameters, Func<OwinOpaque, Task> callback) { var upgrade = UpgradeDelegate; if (upgrade == null) { throw new NotSupportedException(OwinConstants.Opaque.Upgrade); } UpgradeDelegate.Invoke(parameters.Dictionary, opaque => callback(new OwinOpaque(opaque))); }
public void Upgrade( OwinOpaqueParameters parameters, Func <OwinOpaque, Task> callback) { var upgrade = UpgradeDelegate; if (upgrade == null) { throw new NotSupportedException(OwinConstants.OpaqueConstants.Upgrade); } UpgradeDelegate.Invoke(parameters.Dictionary, opaque => callback(new OwinOpaque(opaque))); }
public void Upgrade( Func <OwinOpaque, Task> callback) { Upgrade(OwinOpaqueParameters.Create(), callback); }
public bool Equals(OwinOpaqueParameters other) { return(Equals(_dictionary, other._dictionary)); }