WithAuthCreds provides a credential function to the authorizer
(creds func(string) (string, string, error))
| 64 | |
| 65 | // WithAuthCreds provides a credential function to the authorizer |
| 66 | func WithAuthCreds(creds func(string) (string, string, error)) AuthorizerOpt { |
| 67 | return func(opt *authorizerConfig) { |
| 68 | opt.credentials = creds |
| 69 | } |
| 70 | } |
| 71 | |
| 72 | // WithAuthHeader provides HTTP headers for authorization |
| 73 | // |
no outgoing calls
searching dependent graphs…