Show / Hide Table of Contents

Class AuthenticationExtensions

Extension methods for configuring how authentication is handled by the ArcGIS Maps SDK for .NET.

Inheritance
System.Object
AuthenticationExtensions
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Esri.ArcGISRuntime.Security
Assembly: Esri.ArcGISRuntime.dll
Syntax
public static class AuthenticationExtensions

Methods

Name Description
AddOAuthUserConfiguration(IAuthenticationConfiguration, OAuthUserConfiguration)

Registers an ArcGIS Portal OAuth configuration with the AuthenticationManager.

AddServerInfo(IAuthenticationConfiguration, ServerInfo)

Register secure servers and the token endpoints. The Authentication Manager makes its best guess to determine the location of the secure server and token endpoint so in most cases calling registerServers is not necessary. However if the location of your server or token endpoint is non-standard use this method to register the location. Additionally if portal uses the OAuth authentication, it needs to be registered by this method.

ConfigureAuthentication(IArcGISConfiguration, Action<IAuthenticationConfiguration>)

Configures how the ArcGIS SDK handles authentication

UseChallengeHandler(IAuthenticationConfiguration, IChallengeHandler)

Sets a challenge handler for authenticated requests.

UseDefaultChallengeHandler(IAuthenticationConfiguration)

Sets a default challenge handler for authenticated requests.

UseOAuthAuthorizeHandler(IAuthenticationConfiguration, IOAuthAuthorizeHandler)

Sets the component sets the component that handles authorization by a resource owner in an OAuth workflow.

See Also

Initialize(Action<IArcGISConfiguration>)

Applies to

TargetVersions
.NET Standard 2.0200.0 - 200.7
.NET200.0 - 200.7
.NET Windows200.0 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework200.0 - 200.7
UWP200.0 - 200.7
In This Article
Back to top Copyright © 2022 Esri.