MCPcopy Create free account
hub / github.com/pace/bricks / Authorizer

Struct Authorizer

http/oauth2/authorizer.go:15–19  ·  view source on GitHub ↗

Authorizer is an implementation of security.Authorizer for OAuth2 it uses introspection to get user data and can check the scope

Source from the content-addressed store, hash-verified

13// Authorizer is an implementation of security.Authorizer for OAuth2
14// it uses introspection to get user data and can check the scope
15type Authorizer struct {
16 introspection TokenIntrospecter
17 scope Scope
18 config *Config
19}
20
21// Flow is a part of the OAuth2 config from the security schema
22type Flow struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected