MCPcopy
hub / github.com/grpc/grpc-go / CommonAuthInfo

Struct CommonAuthInfo

credentials/credentials.go:89–91  ·  view source on GitHub ↗

CommonAuthInfo contains authenticated information common to AuthInfo implementations. It should be embedded in a struct implementing AuthInfo to provide additional information about the credentials. This API is experimental.

Source from the content-addressed store, hash-verified

87//
88// This API is experimental.
89type CommonAuthInfo struct {
90 SecurityLevel SecurityLevel
91}
92
93// GetCommonAuthInfo returns the pointer to CommonAuthInfo struct.
94func (c CommonAuthInfo) GetCommonAuthInfo() CommonAuthInfo {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected