MCPcopy Create free account

hub / github.com/RiotGames/key-conjurer / functions

Functions171 in github.com/RiotGames/key-conjurer

↓ 13 callersMethodError
()
command/error.go:44
↓ 13 callersMethodFindAccount
(name string)
command/config.go:247
↓ 11 callersMethodValidUntil
(account *Account, dur time.Duration)
command/credentials.go:61
↓ 9 callersFunctionConfigFromCommand
(cmd *cobra.Command)
command/context.go:11
↓ 9 callersMethodExportEnvironmentVariable
(w io.Writer, key, value string)
command/credentials.go:97
↓ 9 callersMethodParse
(cmd *cobra.Command, args []string)
command/get.go:72
↓ 8 callersMethodAdd
Add adds an account to the set.
command/config.go:82
↓ 7 callersMethodClose
()
pkg/oauth2cli/handler.go:123
↓ 7 callersMethodResolve
(name string)
command/config.go:103
↓ 6 callersFunctionLoadAWSCredentialsFromEnvironment
()
command/credentials.go:51
↓ 5 callersFunctionServeJSONError
(w *events.ALBTargetGroupResponse, statusCode int, msg string)
internal/api/json.go:31
↓ 5 callersFunctiongetAttribute
(attrs []html.Attribute, key string)
internal/oktawebsso/html.go:31
↓ 5 callersFunctionsetEnv
(t *testing.T, valid bool)
command/credentials_test.go:10
↓ 4 callersMethodEncode
Encode writes the config to the file provided overwriting the file if it exists
command/config.go:196
↓ 4 callersFunctionFindFirstForm
FindFirstForm finds the first form within the given HTML document and returns it, or false if it doesn't exist.
internal/oktawebsso/html.go:101
↓ 4 callersMethodIsNameMatch
(name string)
command/config.go:33
↓ 4 callersMethodSet
(key, value string)
internal/oktawebsso/html.go:15
↓ 4 callersFunctionWalk
Walk traverses the given HTML node and calls the function walker on each one encountered. Walk will continue executing until walker returns false or
internal/oktawebsso/html.go:71
↓ 4 callersFunctionexecute
(cmd *cobra.Command, args ...string)
command/root_test.go:21
↓ 4 callersFunctionfindFirstFreePort
findFirstFreePort will attempt to open a network listener for each port in turn, and return the first one that succeeded. If none succeed, ErrNoPorts
command/login.go:142
↓ 4 callersFunctionresetCobra
Required to reset Cobra state between Test runs. If you add new tests that change state, you may need to add code here to reset the side effects of ot
command/root_test.go:16
↓ 3 callersMethodAlias
(id, name string)
command/config.go:229
↓ 3 callersFunctionNewCloudCliEntry
(c CloudCredentials, a *Account, profileName string)
command/awsconfig.go:20
↓ 3 callersFunctionShouldUseMachineOutput
ShouldUseMachineOutput indicates whether or not we should write to standard output as if the user is a machine. What this means is implementation spe
command/login.go:54
↓ 3 callersMethodUpdateAccounts
(entries []Account)
command/config.go:260
↓ 3 callersMethodWait
(ctx context.Context, state, verifier string)
pkg/oauth2cli/handler.go:107
↓ 3 callersFunctionfindConfigPath
()
command/config.go:276
↓ 3 callersFunctionfindRoleInSAML
(roleName string, response *saml.Response)
command/roles.go:59
↓ 3 callersFunctiontryParseTimeToLiveError
tryParseTimeToLiveError attempts to parse an error related to the DurationSeconds field in the STS request. If the given error does relate to the spe
command/error.go:153
↓ 2 callersMethodAddAccount
(id string, account Account)
command/config.go:221
↓ 2 callersMethodAddToken
(code string, token *oauth2.Token)
pkg/oauth2cli/authorizationcode_test.go:19
↓ 2 callersMethodCode
()
command/error.go:135
↓ 2 callersFunctionDiscoverConfigAndExchangeTokenForAssertion
(ctx context.Context, ts oauth2.TokenSource, oidcDomain, clientID, applicationID string)
pkg/oauth2cli/authorizationcode.go:72
↓ 2 callersMethodDumpAccounts
(w io.Writer, withHeaders bool)
command/config.go:264
↓ 2 callersMethodExchange
(ctx context.Context, code string, params ...oauth2.AuthCodeOption)
pkg/oauth2cli/handler.go:27
↓ 2 callersMethodExecute
(ctx context.Context, config *Config)
command/login.go:77
↓ 2 callersMethodExecute
(ctx context.Context, config *Config)
command/get.go:113
↓ 2 callersMethodNormalizeName
()
command/config.go:23
↓ 2 callersMethodParse
(flags *pflag.FlagSet, args []string)
command/switch.go:67
↓ 2 callersFunctionSaveCloudCredentialInCLI
(cloudCliPath string, entry CloudCliEntry)
command/awsconfig.go:67
↓ 2 callersMethodServeHTTP
(w http.ResponseWriter, req *http.Request)
pkg/oauth2cli/handler.go:59
↓ 2 callersFunctionServeJSON
(w *events.ALBTargetGroupResponse, data T)
internal/api/json.go:11
↓ 2 callersMethodUnalias
(name string)
command/config.go:238
↓ 2 callersMethodVerify
(state string, code *string)
pkg/oauth2cli/handler.go:135
↓ 2 callersMethodWriteFormat
(w io.Writer, format ShellType)
command/credentials.go:100
↓ 2 callersMethodfetchNewCredentials
(ctx context.Context, account Account, cfg *Config)
command/get.go:173
↓ 2 callersFunctiongenerateDefaultAlias
(name string)
command/config.go:55
↓ 2 callersFunctiongetARN
(value string)
command/roles.go:44
↓ 2 callersFunctiongetAccountCredentialFromKeychain
()
command/keychain.go:30
↓ 2 callersFunctionisKeychainLockedErr
(err error)
command/keychain_win.go:5
↓ 2 callersFunctionsaveCredentialEntry
(file *ini.File, entry CloudCliEntry)
command/awsconfig.go:59
↓ 1 callersMethodCode
()
command/error.go:45
↓ 1 callersFunctionConfigContext
(ctx context.Context, config *Config)
command/context.go:15
↓ 1 callersMethodDecode
Decode populates all member values of config using default values where needed
command/config.go:202
↓ 1 callersFunctionDiscoverConfig
(ctx context.Context, domain, clientID string)
pkg/oauth2cli/authorizationcode.go:22
↓ 1 callersFunctionExchangeAccessToken
ExchangeAccessToken exchanges an OAuth2 token for an Okta Web SSO token. The OAuth2 token source must have been retrieved from an OIDC flow, or ErrNo
internal/oktawebsso/websso.go:29
↓ 1 callersFunctionExecute
(ctx context.Context, args []string)
command/root.go:90
↓ 1 callersMethodExecute
(ctx context.Context)
command/switch.go:92
↓ 1 callersFunctionFindOktaHeaders
(r *http.Response)
command/log.go:13
↓ 1 callersMethodForEach
(f func(id string, account Account, alias string))
command/config.go:65
↓ 1 callersFunctionGetExitCode
(err error)
command/error.go:172
↓ 1 callersFunctionGetSAMLAssertion
GetSAMLAssertion is an Okta-specific API which exchanges an Okta Web SSO token, which is obtained by exchanging an OAuth2 token using the RFC8693 Toke
internal/oktawebsso/websso.go:55
↓ 1 callersMethodHandlePendingSession
(ctx context.Context, listener net.Listener)
pkg/oauth2cli/authorizationcode.go:55
↓ 1 callersMethodHandler
()
internal/api/serverless_functions.go:84
↓ 1 callersFunctionIsWindowsPortAccessError
IsWindowsPortAccessError determines if the given error is the error WSAEACCES.
main.go:26
↓ 1 callersMethodListApplicationsForUser
(ctx context.Context, user string)
internal/api/serverless_functions.go:22
↓ 1 callersFunctionNewAuthorizationCodeHandler
(cfg *oauth2.Config, serveURL func(string) error)
pkg/oauth2cli/authorizationcode.go:43
↓ 1 callersFunctionNewOktaService
(domain *url.URL, token string)
internal/api/okta.go:19
↓ 1 callersMethodParse
(flags *pflag.FlagSet, args []string)
command/login.go:68
↓ 1 callersMethodReplaceWith
(other []Account)
command/config.go:146
↓ 1 callersFunctionRequestAttrs
RequestAttrs returns attributes to be used with slog for the given request. []any is returned instead of []slog.Attr to make it easier to supply the
internal/api/http.go:17
↓ 1 callersFunctionResolveAWSCredentialsPath
(rootPath string)
command/awsconfig.go:50
↓ 1 callersFunctionServeUserApplications
(okta OktaService, idp *oidc.Provider)
internal/api/serverless_functions.go:88
↓ 1 callersMethodToken
()
command/keychain.go:64
↓ 1 callersFunctionTouchFile
(path string)
command/awsconfig.go:37
↓ 1 callersFunctionUnknownAccountError
(accountID, bypassCacheFlag string)
command/error.go:70
↓ 1 callersFunctionUnknownRoleError
(role, applicationID string)
command/error.go:63
↓ 1 callersMethodValidate
()
command/switch.go:80
↓ 1 callersMethodValidate
()
command/get.go:98
↓ 1 callersMethodWriteTable
(w io.Writer, withHeaders bool)
command/config.go:172
↓ 1 callersFunctioncheckKeychainLocked
()
command/keychain.go:25
↓ 1 callersFunctioncollectFormValues
(node *html.Node)
internal/oktawebsso/html.go:75
↓ 1 callersFunctionechoCredentials
(account *Account, profileName string, credentials CloudCredentials, outputType, shellType, cliPath string)
command/get.go:237
↓ 1 callersFunctionensureConfigFileExists
(fp string)
command/config.go:268
↓ 1 callersFunctiongenerateState
()
pkg/oauth2cli/authorizationcode.go:37
↓ 1 callersFunctiongetAWSCredentials
(ctx context.Context, accountID, roleSessionName string)
command/switch.go:114
↓ 1 callersFunctiongetCloudCliCredentialsFile
(path string)
command/awsconfig.go:41
↓ 1 callersFunctiongetShellType
()
command/credentials.go:23
↓ 1 callersFunctionlistRoles
(response *saml.Response)
command/roles.go:97
↓ 1 callersFunctionloadConfig
()
command/config.go:284
↓ 1 callersMethodprintUsage
()
command/get.go:109
↓ 1 callersFunctionputAccountCredentialInKeychain
(tok *oauth2.Token, idToken string)
command/keychain.go:49
↓ 1 callersFunctionrefreshAccounts
(ctx context.Context, serverAddr *url.URL, ts oauth2.TokenSource)
command/accounts.go:68
↓ 1 callersFunctionrequestTokenSource
(r events.ALBTargetGroupRequest)
internal/api/http.go:31
↓ 1 callersFunctionresolveApplicationInfo
(cfg *Config, bypassCache bool, nameOrID string)
command/get.go:54
↓ 1 callersFunctionsaveConfig
(config *Config)
command/config.go:300
↓ 1 callersFunctionwalkInner
(node *html.Node, walker func(node *html.Node) bool)
internal/oktawebsso/html.go:41
MethodAlias
(id, name string)
command/config.go:117
FunctionApp
()
frontend/src/App.tsx:11
MethodCode
()
command/error.go:39
next →1–100 of 171, ranked by callers