public abstract class CallCredentialsClient-side call credentials. Provide authorization with per-call granularity.
Namespace
Grpc.CoreAssembly
Grpc.Core.Api.dll
Methods
Compose(params CallCredentials[])
public static CallCredentials Compose(params CallCredentials[] credentials)Composes multiple CallCredentials objects into
a single CallCredentials object.
| Parameter | |
|---|---|
| Name | Description |
credentials |
CallCredentialscredentials to compose |
| Returns | |
|---|---|
| Type | Description |
CallCredentials |
The new |
FromInterceptor(AsyncAuthInterceptor)
public static CallCredentials FromInterceptor(AsyncAuthInterceptor interceptor)Creates a new instance of CallCredentials class from an
interceptor that can attach metadata to outgoing calls.
| Parameter | |
|---|---|
| Name | Description |
interceptor |
AsyncAuthInterceptorauthentication interceptor |
| Returns | |
|---|---|
| Type | Description |
CallCredentials |
|
InternalPopulateConfiguration(CallCredentialsConfiguratorBase, object?)
public abstract void InternalPopulateConfiguration(CallCredentialsConfiguratorBase configurator, object? state)Populates call credentials configurator with this instance's configuration. End users never need to invoke this method as it is part of internal implementation.
| Parameters | |
|---|---|
| Name | Description |
configurator |
CallCredentialsConfiguratorBase |
state |
object |