public override void SetAsyncAuthInterceptorCredentials(object state, AsyncAuthInterceptor interceptor)
        {
            GrpcPreconditions.CheckState(nativeCredentials == null);

            var plugin = new NativeMetadataCredentialsPlugin(interceptor);

            nativeCredentials = plugin.Credentials;
        }
예제 #2
0
 internal override CallCredentialsSafeHandle ToNativeCredentials()
 {
     NativeMetadataCredentialsPlugin plugin = new NativeMetadataCredentialsPlugin(interceptor);
     return plugin.Credentials;
 }