WithHooks registers lifecycle hooks executed around service startup.
(h Hooks)
| 126 | |
| 127 | // WithHooks registers lifecycle hooks executed around service startup. |
| 128 | func (b *Builder) WithHooks(h Hooks) *Builder { |
| 129 | b.hooks = h |
| 130 | return b |
| 131 | } |
| 132 | |
| 133 | // WithAuthManager overrides the authentication manager used for token lifecycle operations. |
| 134 | func (b *Builder) WithAuthManager(mgr *sdkAuth.Manager) *Builder { |
no outgoing calls
no test coverage detected