| Modifier and Type | Optional Element and Description |
|---|---|
String |
confPrefix
The prefix of the config key to be used, plus
/mp-graphql/. |
AuthorizationHeader.Type |
type
The first word of the
Authorization header value, i.e. |
public abstract String confPrefix
/mp-graphql/.
If the prefix ends with *, /mp-graphql/ will not be appended,
e.g. @AuthorizationHeader(confPrefix = "org.superheroes.security.basic.* will use
org.superheroes.security.basic.username, while * will use plain
username.
Defaults to the fully qualified name of the API interface or its GraphQlClientApi.configKey().
public abstract AuthorizationHeader.Type type
Authorization header value, i.e. Basic or Bearer.
Also determines the config keys to use. See AuthorizationHeader.Type.BASIC/AuthorizationHeader.Type.BEARER for details.Copyright © 2018–2020. All rights reserved.