Show / Hide Table of Contents

Method RemoveAllCredentials

RemoveAllCredentials()

Removes all stored credentials so the challenge handler will be called the next time access to a secured resource is needed.

Declaration
public void RemoveAllCredentials()
Remarks

Calling this method is the equivalent of signing out of a session.

Exceptions
Type Condition
System.InvalidOperationException

A loadable credential persistence is assigned but not yet loaded.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.5 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.5 - 200.8
Xamarin.Android100.5 - 100.15
Xamarin.iOS100.5 - 100.15
UWP100.5 - 200.8
In This Article
Back to top Copyright © 2022 Esri.