Méthodes fréquemment utilisées
Méthodes fréquemment utilisées
Méthodes fréquemment utilisées
Méthodes fréquemment utilisées
public NativeMetadataCredentialsPlugin(AsyncAuthInterceptor interceptor) { this.interceptor = Preconditions.CheckNotNull(interceptor, "interceptor"); this.nativeInterceptor = NativeMetadataInterceptorHandler; // Make sure the callback doesn't get garbage collected until it is destroyed. this.gcHandle = GCHandle.Alloc(this.nativeInterceptor, GCHandleType.Normal); this.credentials = pinvoke.grpcsharp_metadata_credentials_create_from_plugin(nativeInterceptor); }