Annotation Interface AuthorizationHeader
-
Nested Class Summary
Nested Classes -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionThe prefix of the config key to be used, plus/mp-graphql/.The first word of theAuthorizationheader value, i.e.
-
Element Details
-
confPrefix
String confPrefixThe prefix of the config key to be used, plus/mp-graphql/.If the prefix ends with
*,/mp-graphql/will not be appended, e.g.@AuthorizationHeader(confPrefix = "org.superheroes.security.basic.*will useorg.superheroes.security.basic.username, while*will use plainusername.Defaults to the fully qualified name of the API interface or its
GraphQLClientApi.configKey().- Default:
""
-
type
The first word of theAuthorizationheader value, i.e.BasicorBearer. Also determines the config keys to use. SeeAuthorizationHeader.Type.BASIC/AuthorizationHeader.Type.BEARERfor details.- Default:
BASIC
-