Class AuthCallCredentials
- java.lang.Object
-
- io.grpc.CallCredentials
-
- org.lognet.springboot.grpc.security.AuthCallCredentials
-
public class AuthCallCredentials extends io.grpc.CallCredentialsAdds Authorization header with configured configured authentication scheme token supplied by tokeSupplier
-
-
Constructor Summary
Constructors Constructor Description AuthCallCredentials(AuthHeader authHeader)AuthCallCredentials(AuthHeader.AuthHeaderBuilder authHeaderBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyRequestMetadata(io.grpc.CallCredentials.RequestInfo requestInfo, java.util.concurrent.Executor appExecutor, io.grpc.CallCredentials.MetadataApplier metadataApplier)voidthisUsesUnstableApi()
-
-
-
Constructor Detail
-
AuthCallCredentials
public AuthCallCredentials(AuthHeader.AuthHeaderBuilder authHeaderBuilder)
-
AuthCallCredentials
public AuthCallCredentials(AuthHeader authHeader)
-
-
Method Detail
-
applyRequestMetadata
public void applyRequestMetadata(io.grpc.CallCredentials.RequestInfo requestInfo, java.util.concurrent.Executor appExecutor, io.grpc.CallCredentials.MetadataApplier metadataApplier)- Specified by:
applyRequestMetadatain classio.grpc.CallCredentials
-
thisUsesUnstableApi
public void thisUsesUnstableApi()
- Specified by:
thisUsesUnstableApiin classio.grpc.CallCredentials
-
-