authHeader property

  1. @Bind(HttpHeaders.authorizationHeader)
String? authHeader
getter/setter pair

Required basic authentication Authorization header containing client ID and secret for the authenticating client.

Requests must contain the client ID and client secret in the authorization header, using the basic authentication scheme. If the client is a public client - i.e., no client secret - the client secret is omitted from the Authorization header.

Example: com.stablekernel.public is a public client. The Authorization header should be constructed as so:

    Authorization: Basic base64("com.stablekernel.public:")

Notice the trailing colon indicates that the client secret is the empty string.

Implementation

@Bind.header(HttpHeaders.authorizationHeader)
String? authHeader;