Package com.linecorp.armeria.common.auth
Class BasicToken
java.lang.Object
com.linecorp.armeria.common.auth.BasicToken
The bearer token of
HTTP basic access authentication.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the string that is sent as the value of theHttpHeaderNames.AUTHORIZATION
header.boolean
int
hashCode()
static BasicToken
password()
Returns the password.toString()
username()
Returns the username.
-
Method Details
-
of
-
username
Returns the username. -
password
Returns the password. -
asHeaderValue
Returns the string that is sent as the value of theHttpHeaderNames.AUTHORIZATION
header. -
equals
-
hashCode
public int hashCode() -
toString
-