MCPcopy Index your code
hub / github.com/coder/coder / Authorize

Method Authorize

tailnet/tunnel.go:33–33  ·  view source on GitHub ↗
(ctx context.Context, req *proto.CoordinateRequest)

Source from the content-addressed store, hash-verified

31
32type CoordinateeAuth interface {
33 Authorize(ctx context.Context, req *proto.CoordinateRequest) error
34}
35
36// SingleTailnetCoordinateeAuth allows all tunnels, since Coderd and wsproxy are allowed to initiate a tunnel to any agent

Callers 3

handleRequestMethod · 0.65

Implementers 15

APIcoderd/coderd.go
mockAuthorizercoderd/workspaceupdates_test.go
HTTPAuthorizercoderd/authorize.go
RecordingAuthorizercoderd/coderdtest/authorize.go
PreparedRecordercoderd/coderdtest/authorize.go
FakeAuthorizercoderd/coderdtest/authorize.go
fakePreparedAuthorizercoderd/coderdtest/authorize.go
MockAuthorizercoderd/rbac/authz_internal_test.go
mockPreparedAuthorizercoderd/rbac/authz_internal_test.go
RegoAuthorizercoderd/rbac/authz.go
PartialAuthorizercoderd/rbac/authz.go
authCachecoderd/rbac/authz.go

Calls

no outgoing calls

Tested by 2