AuthProvider.SetCallbackHandler(ICallbackHandler) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Android.Runtime.Register("setCallbackHandler", "(Ljavax/security/auth/callback/CallbackHandler;)V", "GetSetCallbackHandler_Ljavax_security_auth_callback_CallbackHandler_Handler")]
public abstract void SetCallbackHandler(Javax.Security.Auth.Callback.ICallbackHandler? handler);
[<Android.Runtime.Register("setCallbackHandler", "(Ljavax/security/auth/callback/CallbackHandler;)V", "GetSetCallbackHandler_Ljavax_security_auth_callback_CallbackHandler_Handler")>]
abstract member SetCallbackHandler : Javax.Security.Auth.Callback.ICallbackHandler -> unit
Parameters
- handler
- ICallbackHandler
a CallbackHandler for obtaining authentication information, which may be null
- Attributes
Remarks
Set a CallbackHandler. The provider uses this handler if one is not passed to the login method. The provider also uses this handler if it invokes login on behalf of callers. In either case if a handler is not set via this method, the provider queries the auth.login.defaultCallbackHandler security property for the fully qualified class name of a default handler implementation. If the security property is not set, the provider is assumed to have alternative means for obtaining authentication information.
Java reference for java.security.AuthProvider.setCallbackHandler.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.