BISDK.Client.RefreshAccessToken C# (CSharp) Method

RefreshAccessToken() protected method

protected RefreshAccessToken ( ) : void
return void
        protected void RefreshAccessToken()
        {
            if (MasterAuthentication)
            {
                //for master authentication, just authenticate again to get the new access token
                AuthenticateMaster(Email);
            }
            else
            {
                //for regular authentication, use refresh token to renew access token
                RenewAccessToken(RefreshToken);
            }
        }