public override void SetAsyncAuthInterceptorCredentials(object state, AsyncAuthInterceptor interceptor) { GrpcPreconditions.CheckState(nativeCredentials == null); var plugin = new NativeMetadataCredentialsPlugin(interceptor); nativeCredentials = plugin.Credentials; }
internal override CallCredentialsSafeHandle ToNativeCredentials() { NativeMetadataCredentialsPlugin plugin = new NativeMetadataCredentialsPlugin(interceptor); return plugin.Credentials; }