//PerformNewAuthentication Execute the interactive flow for a new authentication
PerformNewAuthentication Execute the interactive flow for a new authentication
// PerformNewAuthentication Execute the interactive flow for a new authentication
func (vSelf *OneDriveClient) PerformNewAuthentication(pAuthenticationHelper auth.AuthenticationHelper, pTimeout time.Duration) error {
	vAuthenticationToken, vError := pAuthenticationHelper.WaitAuthenticationToken(pTimeout)
	if vError != nil {
		return diagnostic.NewError("Error performing new authentication", vError)
	}
	vApplicationInfo := pAuthenticationHelper.GetApplicationInfo()
	vSelf.SetAuthenticationProvider(&auth.StaticAuthenticationInfo{AuthenticationToken: vAuthenticationToken, ApplicationInfo: &vApplicationInfo})
	return nil
}
func ( vSelf * OneDriveClient ) PerformNewAuthentication ( pAuthenticationHelper auth . AuthenticationHelper , pTimeout time . Duration ) error { vAuthenticationToken , vError := pAuthenticationHelper . WaitAuthenticationToken ( pTimeout ) if vError != nil { return diagnostic . NewError ( " " , vError ) } vApplicationInfo := pAuthenticationHelper . GetApplicationInfo ( ) vSelf . SetAuthenticationProvider ( & auth . StaticAuthenticationInfo { AuthenticationToken : vAuthenticationToken , ApplicationInfo : & vApplicationInfo } ) return nil }
PerformNewAuthentication Execute the interactive flow for a new authentication
PerformNewAuthentication Execute the interactive flow for a new authentication