예제 #1
0
        protected override IAsyncResult OnBeginGetToken(string appliesTo, string action, TimeSpan timeout, AsyncCallback callback, object state)
        {
            base.ValidateAction(action);
            Uri stsUri = TokenProviderHelper.GetStsUri(this.stsUri, appliesTo);

            return(TokenProviderHelper.BeginGetAccessTokenByAssertion(stsUri, appliesTo, SharedSecretTokenProvider.ComputeSimpleWebTokenString(this.issuerName, this.issuerSecret), "SWT", timeout, callback, state));
        }