Authenticator determines the caller identity based on request context.
| 387 | |
| 388 | // Authenticator determines the caller identity based on request context. |
| 389 | type Authenticator interface { |
| 390 | Authenticate(ctx AuthContext) (*Caller, error) |
| 391 | AuthenticatorType() string |
| 392 | } |
| 393 | |
| 394 | // authenticationManager orchestrates all authenticators to perform authentication. |
| 395 | type authenticationManager struct { |
no outgoing calls
no test coverage detected
searching dependent graphs…