Annotation Type AuthorizationHeader
-
@Retention(RUNTIME) @Target({TYPE,METHOD}) public @interface AuthorizationHeader
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringconfPrefixThe prefix of the config key to be used, plus/mp-graphql/.AuthorizationHeader.TypetypeThe first word of theAuthorizationheader value, i.e.
-
-
-
Element Detail
-
confPrefix
String confPrefix
The 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
AuthorizationHeader.Type 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:
- io.smallrye.graphql.client.typesafe.api.AuthorizationHeader.Type.BASIC
-
-