TopShelfCustomer/TopShelfCustomer.Android/AuthDroid.cs
/// <summary>
/// LogoutCurrentUser:
///
/// Asynchronout method to Logout any current Users.
/// </summary>
/// <returns> Task object describing the success of the SignOut() call </returns>


Asynchronout method to Logout any current Users.
Asynchronout method to Logout any current Users .
public string LogoutCurrentUser () {
            if ( FirebaseAuth.Instance.CurrentUser != null ) {
                try {
                    FirebaseAuth.Instance.SignOut();
                    return "Success";
                } catch ( Exception ex ) {
                    Debug.WriteLine( ex.Message );
                    return "";
                }
            }
            return "";
        }
public string LogoutCurrentUser ( ) { if ( FirebaseAuth . Instance . CurrentUser != null ) { try { FirebaseAuth . Instance . SignOut ( ) ; return " " ; } catch ( Exception ex ) { Debug . WriteLine ( ex . Message ) ; return " " ; } } return " " ; }
LogoutCurrentUser:
LogoutCurrentUser :
Task object describing the success of the SignOut() call
Task object describing the success of the SignOut () call