Class AuthenticationExtensions
Extension methods for configuring how authentication is handled by the ArcGIS Maps SDK for .NET.
Inheritance
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
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 200.0 - 200.5 |
.NET | 200.0 - 200.5 |
.NET Windows | 200.0 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 200.0 - 200.5 |
UWP | 200.0 - 200.5 |