public interface Authentication
The authentication to use for accessing a protected resource. This acts basically as an extensible callback mechanism from which network operations can request authentication data like username and password when needed.
Method SummaryModifier and TypeMethodDescription
(AuthenticationDigest digest)Updates the given digest with data from this authentication callback.
voidFills the given authentication context with the data from this authentication callback.
fillFills the given authentication context with the data from this authentication callback. To do so, implementors have to call
keyparameter supplied to this method acts merely as a hint for interactive callbacks that want to prompt the user for only that authentication data which is required. Implementations are free to ignore this parameter and put all the data they have into the authentication context at once.
context- The authentication context to populate, must not be
key- The key denoting a specific piece of authentication data that is being requested for a network operation, may be
data- Any (read-only) extra data in form of key value pairs that might be useful when getting the authentication data, may be
(AuthenticationDigest digest)Updates the given digest with data from this authentication callback. To do so, implementors have to call the
digest- The digest to update, must not be