public void RemoveTokenValue_UnitTest() { Uri serverUrl = default(Uri); IIssuedToken token = default(IIssuedToken); ExecuteMethod( () => { return((ITfsClientCredentialStorage)GetInstance()); }, instance => { serverUrl = default(Uri); //No Type token = IssuedTokenImpl_UnitTests.GetInstance(); RemoveTokenValue_PreCondition(instance, ref serverUrl, ref token); }, instance => { instance.RemoveTokenValue(serverUrl, token); }, instance => { RemoveTokenValue_PostValidate(instance, serverUrl, token); }); }
public void StoreToken_UnitTest() { Uri serverUrl = default(Uri); IIssuedToken token = default(IIssuedToken); Boolean matchUserInformation = default(Boolean); ExecuteMethod( () => { return((ITfsClientCredentialStorage)GetInstance()); }, instance => { serverUrl = default(Uri); //No Type token = IssuedTokenImpl_UnitTests.GetInstance(); matchUserInformation = default(Boolean); //No Constructor StoreToken_PreCondition(instance, ref serverUrl, ref token, ref matchUserInformation); }, instance => { instance.StoreToken(serverUrl, token, matchUserInformation); }, instance => { StoreToken_PostValidate(instance, serverUrl, token, matchUserInformation); }); }
partial void IsAuthenticated_SetCondition(ref IIssuedToken instance, ref Boolean setValue);
partial void StoreToken_PreCondition(ITfsClientCredentialStorage instance, ref Uri serverUrl, ref IIssuedToken token, ref Boolean matchUserInformation);
partial void StoreToken_PostValidate(ITfsClientCredentialStorage instance, Uri serverUrl, IIssuedToken token, Boolean matchUserInformation);
partial void RemoveTokenValue_PreCondition(ITfsClientCredentialStorage instance, ref Uri serverUrl, ref IIssuedToken token);
partial void RemoveTokenValue_PostValidate(ITfsClientCredentialStorage instance, Uri serverUrl, IIssuedToken token);
partial void CurrentToken_SetCondition(ref IIssuedTokenProvider instance, ref IIssuedToken setValue);
/// <summary> /// Gets the token. /// </summary> /// <param name="failedToken">The failed token.</param> /// <param name="timeout">The timeout.</param> /// <returns>IIssuedToken.</returns> /// <exception cref="DynCon.OSI.Core.Helpers.ToBeImplementedException"></exception> IIssuedToken IIssuedTokenProvider.GetToken(IIssuedToken failedToken, TimeSpan timeout) { throw new ToBeImplementedException(); }
/// <summary> /// Begins the get token. /// </summary> /// <param name="failedToken">The failed token.</param> /// <param name="timeout">The timeout.</param> /// <param name="canRefresh">The can refresh.</param> /// <param name="callback">The callback.</param> /// <param name="state">The state.</param> /// <returns>IAsyncResult.</returns> /// <exception cref="DynCon.OSI.Core.Helpers.ToBeImplementedException"></exception> IAsyncResult IIssuedTokenProvider.BeginGetToken(IIssuedToken failedToken, TimeSpan timeout, Boolean canRefresh, AsyncCallback callback, Object state) { throw new ToBeImplementedException(); }
/// <summary> /// Gets the token. /// </summary> /// <param name="failedToken">The failed token.</param> /// <param name="timeout">The timeout.</param> /// <param name="canRefresh">The can refresh.</param> /// <returns>IIssuedToken.</returns> /// <exception cref="DynCon.OSI.Core.Helpers.ToBeImplementedException"></exception> IIssuedToken IIssuedTokenProvider.GetToken(IIssuedToken failedToken, TimeSpan timeout, Boolean canRefresh) { throw new ToBeImplementedException(); }
/// <summary> /// Stores the token. /// </summary> /// <param name="serverUrl">The server URL.</param> /// <param name="token">The token.</param> /// <param name="matchUserInformation">The match user information.</param> /// <exception cref="DynCon.OSI.Core.Helpers.ToBeImplementedException"></exception> void ITfsClientCredentialStorage.StoreToken(Uri serverUrl, IIssuedToken token, Boolean matchUserInformation) { throw new ToBeImplementedException(); }
/// <summary> /// Removes the token value. /// </summary> /// <param name="serverUrl">The server URL.</param> /// <param name="token">The token.</param> /// <returns>Boolean.</returns> /// <exception cref="DynCon.OSI.Core.Helpers.ToBeImplementedException"></exception> Boolean ITfsClientCredentialStorage.RemoveTokenValue(Uri serverUrl, IIssuedToken token) { throw new ToBeImplementedException(); }