Package org.miaixz.bus.http.secure
Class Challenge
java.lang.Object
org.miaixz.bus.http.secure.Challenge
RFC 7235兼容的认证
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the auth params, includingrealmandcharsetif present, but as strings.charset()Returns the charset that should be used to encode the credentials.booleaninthashCode()realm()Returns the protection space.scheme()Returns the authentication scheme, likeBasic.toString()withCharset(Charset charset) 该副本需要使用charset编码的凭据.
-
Constructor Details
-
Challenge
-
Challenge
-
-
Method Details
-
withCharset
该副本需要使用charset编码的凭据.- Parameters:
charset- 字符集- Returns:
- 返回此字符集的副本
-
scheme
Returns the authentication scheme, likeBasic. -
authParams
Returns the auth params, includingrealmandcharsetif present, but as strings. The map's keys are lowercase and should be treated case-insensitively. -
realm
Returns the protection space. -
charset
Returns the charset that should be used to encode the credentials. -
equals
-
hashCode
public int hashCode() -
toString
-