Module com.esri.arcgisruntime
Package com.esri.arcgisruntime.security
Interface CredentialChangedListener
public interface CredentialChangedListener
Defines a listener that is notified when the Portal's Credential has been changed. This would
most typically happen when a Portal transitions from anonymous to authenticated access - for
example, when a Portal is initially loaded anonymously and then credentials are prompted for
a secured resource.
- Since:
- 100.0.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
credentialChanged
(CredentialChangedEvent credentialChangedEvent) Called when a Portal's credential is changed.
-
Method Details
-
credentialChanged
Called when a Portal's credential is changed. Typically, this is done after a credential is retrieved from the credential cache or an authentication challenge and set on a Portal that was loaded anonymously or with an invalid credential.- Parameters:
credentialChangedEvent
- the CredentialChangedEvent fired by the Portal- Since:
- 100.0.0
-