Module io.inverno.mod.http.base
Package io.inverno.mod.http.base.header
Interface Headers.Authorization
- All Superinterfaces:
Header
- Enclosing class:
Headers
Authorization HTTP header as defined by RFC 7235 Section 4.2.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Designates thebasic
authentication scheme as defined by RFC 7617 Section 2.static final String
Designates thebearer
authentication scheme as defined by RFC 6750 Section 2.1static final String
Designates thedigest
authentication scheme as defined by RFC 7616 Section 3.4.static final String
Desginates thenegotiate
authentication scheme as defined by RFC 4559 Section 4. -
Method Summary
Modifier and TypeMethodDescriptionReturns the authentication scheme.Returns authentication parameters.getToken()
Returns the base64-encoded authentication token.Methods inherited from interface io.inverno.mod.http.base.header.Header
getHeaderName, getHeaderValue
-
Field Details
-
AUTH_SCHEME_BASIC
Designates thebasic
authentication scheme as defined by RFC 7617 Section 2.- See Also:
-
AUTH_SCHEME_BEARER
Designates thebearer
authentication scheme as defined by RFC 6750 Section 2.1- See Also:
-
AUTH_SCHEME_DIGEST
Designates thedigest
authentication scheme as defined by RFC 7616 Section 3.4.- See Also:
-
AUTH_SCHEME_NEGOTIATE
Desginates thenegotiate
authentication scheme as defined by RFC 4559 Section 4.- See Also:
-
-
Method Details
-
getAuthScheme
String getAuthScheme()Returns the authentication scheme.
- Returns:
- the authentication scheme
-
getParameters
Returns authentication parameters.
- Returns:
- the authentication parameters map
-
getToken
String getToken()Returns the base64-encoded authentication token.
- Returns:
- the authentication token
-