System.IdentityModel.Selectors.SecurityTokenProvider
namespace System.IdentityModel.Selectors
{
public abstract class SecurityTokenProvider
{
public virtual bool SupportsTokenRenewal { get; }
public virtual bool SupportsTokenCancellation { get; }
protected SecurityTokenProvider();
public SecurityToken GetToken(TimeSpan timeout);
public IAsyncResult BeginGetToken(TimeSpan timeout, AsyncCallback callback, object state);
public SecurityToken EndGetToken(IAsyncResult result);
public SecurityToken RenewToken(TimeSpan timeout, SecurityToken tokenToBeRenewed);
public IAsyncResult BeginRenewToken(TimeSpan timeout, SecurityToken tokenToBeRenewed, AsyncCallback callback, object state);
public SecurityToken EndRenewToken(IAsyncResult result);
public void CancelToken(TimeSpan timeout, SecurityToken token);
public IAsyncResult BeginCancelToken(TimeSpan timeout, SecurityToken token, AsyncCallback callback, object state);
public void EndCancelToken(IAsyncResult result);
protected abstract SecurityToken GetTokenCore(TimeSpan timeout);
protected virtual SecurityToken RenewTokenCore(TimeSpan timeout, SecurityToken tokenToBeRenewed);
protected virtual void CancelTokenCore(TimeSpan timeout, SecurityToken token);
protected virtual IAsyncResult BeginGetTokenCore(TimeSpan timeout, AsyncCallback callback, object state);
protected virtual SecurityToken EndGetTokenCore(IAsyncResult result);
protected virtual IAsyncResult BeginRenewTokenCore(TimeSpan timeout, SecurityToken tokenToBeRenewed, AsyncCallback callback, object state);
protected virtual SecurityToken EndRenewTokenCore(IAsyncResult result);
protected virtual IAsyncResult BeginCancelTokenCore(TimeSpan timeout, SecurityToken token, AsyncCallback callback, object state);
protected virtual void EndCancelTokenCore(IAsyncResult result);
}
}