/// <summary> /// Returns the IAuthorizationState stored in the StoredStateClient instance. /// </summary> /// <param name="provider">OAuth2 client.</param> /// <returns>The stored authorization state.</returns> public static IAuthorizationState GetState(StoredStateClient provider) { provider.RefreshToken(provider.State); return provider.State; }
/// <summary> /// Returns the IAuthorizationState stored in the StoredStateClient instance. /// </summary> /// <param name="provider">OAuth2 client.</param> /// <returns>The stored authorization state.</returns> static public IAuthorizationState GetState(StoredStateClient provider) { provider.RefreshToken(provider.State); return(provider.State); }
/// <summary> /// Returns the IAuthorizationState stored in the StoredStateClient instance. /// </summary> /// <param name="provider">OAuth2 client.</param> /// <returns>The stored authorization state.</returns> static public IAuthorizationState GetState(StoredStateClient provider) { /*Esta primer linea la acabo de agregar*/ provider.RefreshToken(provider.State); return(provider.State); }