id: 1 unit: private load() file: src/client.ts start line: 141 end line: 239 size: 96 LOC McCabe index: 13 number of parameters: 2 id: 2 unit: private async getCredentialsInternal() file: src/providers/ram_role_arn.ts start line: 175 end line: 275 size: 77 LOC McCabe index: 19 number of parameters: 0 id: 3 unit: export function parseUTC() file: src/providers/time.ts start line: 7 end line: 93 size: 70 LOC McCabe index: 30 number of parameters: 1 id: 4 unit: private getCredentialsProvider() file: src/providers/cli_profile.ts start line: 109 end line: 165 size: 56 LOC McCabe index: 7 number of parameters: 2 id: 5 unit: export async function request() file: src/util/http.ts start line: 95 end line: 147 size: 43 LOC McCabe index: 9 number of parameters: 4 id: 6 unit: async getCredentialsInternal() file: src/providers/oidc_role_arn.ts start line: 184 end line: 237 size: 42 LOC McCabe index: 11 number of parameters: 0 id: 7 unit: async refreshSession() file: src/providers/session.ts start line: 72 end line: 112 size: 41 LOC McCabe index: 8 number of parameters: 0 id: 8 unit: private async getCredentialsInternal() file: src/providers/ecs_ram_role.ts start line: 119 end line: 166 size: 38 LOC McCabe index: 12 number of parameters: 0 id: 9 unit: constructor() file: src/oidc_role_arn_credential.ts start line: 16 end line: 56 size: 37 LOC McCabe index: 11 number of parameters: 2 id: 10 unit: constructor() file: src/providers/default.ts start line: 17 end line: 67 size: 34 LOC McCabe index: 7 number of parameters: 1 id: 11 unit: async getCredentials() file: src/providers/default.ts start line: 69 end line: 103 size: 33 LOC McCabe index: 5 number of parameters: 0 id: 12 unit: static names() file: src/config.ts start line: 29 end line: 58 size: 30 LOC McCabe index: 1 number of parameters: 0 id: 13 unit: static types() file: src/config.ts start line: 60 end line: 89 size: 30 LOC McCabe index: 1 number of parameters: 0 id: 14 unit: private async getMetadataToken() file: src/providers/ecs_ram_role.ts start line: 59 end line: 88 size: 25 LOC McCabe index: 6 number of parameters: 0 id: 15 unit: constructor() file: src/ram_role_arn_credential.ts start line: 13 end line: 39 size: 24 LOC McCabe index: 6 number of parameters: 2 id: 16 unit: async updateCredential() file: src/ecs_ram_role_credential.ts start line: 56 end line: 78 size: 23 LOC McCabe index: 2 number of parameters: 0 id: 17 unit: async updateCredential() file: src/uri_credential.ts start line: 30 end line: 54 size: 23 LOC McCabe index: 4 number of parameters: 0 id: 18 unit: export async function doRequest() file: src/providers/http.ts start line: 184 end line: 209 size: 23 LOC McCabe index: 4 number of parameters: 1 id: 19 unit: private async getCredentialsUri() file: src/providers/uri.ts start line: 33 end line: 59 size: 22 LOC McCabe index: 9 number of parameters: 0 id: 20 unit: public build() file: src/providers/static_sts.ts start line: 28 end line: 54 size: 21 LOC McCabe index: 7 number of parameters: 0 id: 21 unit: private async getRoleName() file: src/providers/ecs_ram_role.ts start line: 90 end line: 117 size: 21 LOC McCabe index: 5 number of parameters: 0 id: 22 unit: async getCredentials() file: src/providers/profile.ts start line: 19 end line: 41 size: 20 LOC McCabe index: 4 number of parameters: 0 id: 23 unit: constructor() file: src/sts_token_credential.ts start line: 6 end line: 25 size: 18 LOC McCabe index: 4 number of parameters: 3 id: 24 unit: export async function getConfiguration() file: src/providers/cli_profile.ts start line: 65 end line: 83 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 25 unit: async getCredentials() file: src/providers/cli_profile.ts start line: 167 end line: 187 size: 18 LOC McCabe index: 4 number of parameters: 0 id: 26 unit: constructor() file: src/rsa_key_pair_credential.ts start line: 15 end line: 34 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 27 unit: async getMetadataToken() file: src/ecs_ram_role_credential.ts start line: 38 end line: 54 size: 17 LOC McCabe index: 3 number of parameters: 0 id: 28 unit: async getCredentials() file: src/providers/env.ts start line: 9 end line: 28 size: 17 LOC McCabe index: 3 number of parameters: 0 id: 29 unit: export function timestamp() file: src/util/utils.ts start line: 9 end line: 25 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 30 unit: async updateCredential() file: src/oidc_role_arn_credential.ts start line: 71 end line: 86 size: 16 LOC McCabe index: 2 number of parameters: 0 id: 31 unit: async updateCredential() file: src/ram_role_arn_credential.ts start line: 41 end line: 55 size: 15 LOC McCabe index: 2 number of parameters: 0 id: 32 unit: constructor() file: src/uri_credential.ts start line: 12 end line: 28 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 33 unit: public build() file: src/providers/static_ak.ts start line: 22 end line: 40 size: 15 LOC McCabe index: 5 number of parameters: 0 id: 34 unit: constructor() file: src/access_key_credential.ts start line: 6 end line: 20 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 35 unit: constructor() file: src/providers/oidc_role_arn.ts start line: 164 end line: 178 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 36 unit: function replaceRepeatList() file: src/util/http.ts start line: 33 end line: 46 size: 13 LOC McCabe index: 5 number of parameters: 3 id: 37 unit: function flatParams() file: src/util/http.ts start line: 48 end line: 60 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 38 unit: constructor() file: src/ecs_ram_role_credential.ts start line: 19 end line: 31 size: 13 LOC McCabe index: 1 number of parameters: 4 id: 39 unit: constructor() file: src/providers/ram_role_arn.ts start line: 161 end line: 173 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 40 unit: constructor() file: src/providers/http.ts start line: 20 end line: 32 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 41 unit: constructor() file: src/providers/ecs_ram_role.ts start line: 23 end line: 35 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 42 unit: function _buildParams() file: src/util/http.ts start line: 81 end line: 93 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 43 unit: private getOdicToken() file: src/oidc_role_arn_credential.ts start line: 58 end line: 69 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 44 unit: constructor() file: src/session_credential.ts start line: 10 end line: 20 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 45 unit: async updateCredential() file: src/rsa_key_pair_credential.ts start line: 36 end line: 46 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 46 unit: async getCredential() file: src/client.ts start line: 72 end line: 82 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 47 unit: export function parseFile() file: src/util/utils.ts start line: 27 end line: 39 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 48 unit: needUpdateCredential() file: src/session_credential.ts start line: 48 end line: 57 size: 10 LOC McCabe index: 7 number of parameters: 0 id: 49 unit: async getCredential() file: src/session_credential.ts start line: 59 end line: 68 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 50 unit: export function getCredentials() file: src/provider/provider_chain.ts start line: 21 end line: 31 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 51 unit: static names() file: src/credential_model.ts start line: 10 end line: 19 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 52 unit: static types() file: src/credential_model.ts start line: 21 end line: 30 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 53 unit: function normalize() file: src/util/http.ts start line: 62 end line: 71 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 54 unit: constructor() file: src/bearer_token_credential.ts start line: 7 end line: 16 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 55 unit: async getCredential() file: src/default_credential.ts start line: 40 end line: 48 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 56 unit: async getCredentials() file: src/providers/session.ts start line: 43 end line: 52 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 57 unit: function formatParams() file: src/util/http.ts start line: 14 end line: 21 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 58 unit: function encode() file: src/util/http.ts start line: 23 end line: 31 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 59 unit: function encode() file: src/providers/ram_role_arn.ts start line: 131 end line: 139 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 60 unit: async getCredentials() file: src/providers/static_sts.ts start line: 79 end line: 86 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 61 unit: async getCredentials() file: src/providers/static_ak.ts start line: 63 end line: 70 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 62 unit: constructor() file: src/providers/session.ts start line: 34 end line: 41 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 63 unit: export function getProfile() file: src/providers/cli_profile.ts start line: 85 end line: 93 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 64 unit: constructor() file: src/client.ts start line: 94 end line: 100 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 65 unit: function canonicalize() file: src/util/http.ts start line: 73 end line: 79 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 66 unit: constructor() file: src/default_credential.ts start line: 12 end line: 18 size: 7 LOC McCabe index: 6 number of parameters: 1 id: 67 unit: function querystringify() file: src/providers/http.ts start line: 176 end line: 182 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 68 unit: async getSession() file: src/providers/session.ts start line: 113 end line: 119 size: 7 LOC McCabe index: 3 number of parameters: 0 id: 69 unit: public constructor() file: src/providers/uri.ts start line: 21 end line: 27 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 70 unit: async ensureCredential() file: src/session_credential.ts start line: 26 end line: 31 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 71 unit: function isCredentialsProviderClass() file: src/client.ts start line: 85 end line: 90 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 72 unit: constructor() file: src/credentials.ts start line: 7 end line: 12 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 73 unit: async getRoleName() file: src/ecs_ram_role_credential.ts start line: 80 end line: 86 size: 6 LOC McCabe index: 3 number of parameters: 0 id: 74 unit: constructor() file: src/providers/session.ts start line: 14 end line: 19 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 75 unit: refreshTimestamp() file: src/providers/session.ts start line: 54 end line: 59 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 76 unit: build() file: src/providers/profile.ts start line: 102 end line: 112 size: 6 LOC McCabe index: 3 number of parameters: 0 id: 77 unit: public build() file: src/providers/uri.ts start line: 86 end line: 91 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 78 unit: export async function loadIni() file: src/util/utils.ts start line: 41 end line: 45 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 79 unit: constructor() file: src/providers/http.ts start line: 140 end line: 144 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 80 unit: public constructor() file: src/providers/static_sts.ts start line: 69 end line: 73 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 81 unit: async getAccessKeyId() file: src/session_credential.ts start line: 33 end line: 36 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 82 unit: async getAccessKeySecret() file: src/session_credential.ts start line: 38 end line: 41 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 83 unit: async getSecurityToken() file: src/session_credential.ts start line: 43 end line: 46 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 84 unit: constructor() file: src/client.ts start line: 32 end line: 35 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 85 unit: async getAccessKeyId() file: src/client.ts start line: 41 end line: 44 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 86 unit: async getAccessKeySecret() file: src/client.ts start line: 50 end line: 53 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 87 unit: async getSecurityToken() file: src/client.ts start line: 59 end line: 62 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 88 unit: public withAccessKeyId() file: src/credentials.ts start line: 25 end line: 28 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 89 unit: public withAccessKeySecret() file: src/credentials.ts start line: 30 end line: 33 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 90 unit: public withSecurityToken() file: src/credentials.ts start line: 35 end line: 38 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 91 unit: public withProviderName() file: src/credentials.ts start line: 40 end line: 43 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 92 unit: async getBody() file: src/ecs_ram_role_credential.ts start line: 33 end line: 36 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 93 unit: withMethod() file: src/providers/http.ts start line: 80 end line: 83 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: withPath() file: src/providers/http.ts start line: 95 end line: 98 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 95 unit: withQueries() file: src/providers/http.ts start line: 100 end line: 103 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: withHeaders() file: src/providers/http.ts start line: 105 end line: 108 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: withBodyForm() file: src/providers/http.ts start line: 110 end line: 113 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 98 unit: withURL() file: src/providers/http.ts start line: 115 end line: 118 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 99 unit: withReadTimeout() file: src/providers/http.ts start line: 120 end line: 123 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 100 unit: withConnectTimeout() file: src/providers/http.ts start line: 125 end line: 128 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 101 unit: withStatusCode() file: src/providers/http.ts start line: 152 end line: 155 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 102 unit: withHeaders() file: src/providers/http.ts start line: 157 end line: 160 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 103 unit: withBody() file: src/providers/http.ts start line: 162 end line: 165 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 104 unit: public withAccessKeyId() file: src/providers/static_sts.ts start line: 13 end line: 16 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 105 unit: public withAccessKeySecret() file: src/providers/static_sts.ts start line: 18 end line: 21 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 106 unit: public withSecurityToken() file: src/providers/static_sts.ts start line: 23 end line: 26 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 107 unit: constructor() file: src/providers/ecs_ram_role.ts start line: 180 end line: 183 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 108 unit: public withAccessKeyId() file: src/providers/static_ak.ts start line: 12 end line: 15 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 109 unit: public withAccessKeySecret() file: src/providers/static_ak.ts start line: 17 end line: 20 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 110 unit: public constructor() file: src/providers/static_ak.ts start line: 54 end line: 57 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 111 unit: withOIDCProviderArn() file: src/providers/oidc_role_arn.ts start line: 25 end line: 28 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 112 unit: withOIDCTokenFilePath() file: src/providers/oidc_role_arn.ts start line: 30 end line: 33 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 113 unit: withRoleArn() file: src/providers/oidc_role_arn.ts start line: 35 end line: 38 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 114 unit: withRoleSessionName() file: src/providers/oidc_role_arn.ts start line: 40 end line: 43 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 115 unit: withDurationSeconds() file: src/providers/oidc_role_arn.ts start line: 45 end line: 48 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 116 unit: withStsEndpoint() file: src/providers/oidc_role_arn.ts start line: 50 end line: 53 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 117 unit: withStsRegionId() file: src/providers/oidc_role_arn.ts start line: 55 end line: 58 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 118 unit: withPolicy() file: src/providers/oidc_role_arn.ts start line: 60 end line: 63 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 119 unit: withProfileName() file: src/providers/cli_profile.ts start line: 34 end line: 37 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 120 unit: withProfileName() file: src/providers/profile.ts start line: 97 end line: 100 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 121 unit: public withCredentialsURI() file: src/providers/uri.ts start line: 72 end line: 75 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 122 unit: async updateCredential() file: src/session_credential.ts start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 123 unit: constructor() file: src/credential_model.ts start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 124 unit: static builder() file: src/credentials.ts start line: 14 end line: 16 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 125 unit: public build() file: src/credentials.ts start line: 45 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 126 unit: constructor() file: src/config.ts start line: 91 end line: 93 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 127 unit: function firstLetterUpper() file: src/util/http.ts start line: 10 end line: 12 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 128 unit: export function getRandomInt() file: src/util/utils.ts start line: 47 end line: 49 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 129 unit: needToRefresh() file: src/ecs_ram_role_credential.ts start line: 88 end line: 90 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 130 unit: async getAccessKeyId() file: src/default_credential.ts start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 131 unit: async getAccessKeySecret() file: src/default_credential.ts start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 132 unit: async getSecurityToken() file: src/default_credential.ts start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 133 unit: static builder() file: src/providers/env.ts start line: 5 end line: 7 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 134 unit: build() file: src/providers/env.ts start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 135 unit: static builder() file: src/providers/ram_role_arn.ts start line: 157 end line: 159 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 136 unit: static builder() file: src/providers/http.ts start line: 16 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 137 unit: static builder() file: src/providers/http.ts start line: 136 end line: 138 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 138 unit: constructor() file: src/providers/http.ts start line: 167 end line: 169 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 139 unit: static builder() file: src/providers/static_sts.ts start line: 61 end line: 63 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 140 unit: static builder() file: src/providers/ecs_ram_role.ts start line: 19 end line: 21 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 141 unit: static builder() file: src/providers/static_ak.ts start line: 47 end line: 49 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 142 unit: static builder() file: src/providers/oidc_role_arn.ts start line: 160 end line: 162 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 143 unit: static builder() file: src/providers/cli_profile.ts start line: 96 end line: 98 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 144 unit: constructor() file: src/providers/cli_profile.ts start line: 105 end line: 107 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 145 unit: public static builder() file: src/providers/profile.ts start line: 85 end line: 87 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 146 unit: constructor() file: src/providers/profile.ts start line: 89 end line: 91 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 147 unit: static builder() file: src/providers/default.ts start line: 13 end line: 15 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 148 unit: getProviderName() file: src/providers/default.ts start line: 105 end line: 107 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 149 unit: build() file: src/providers/default.ts start line: 111 end line: 113 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 150 unit: static builder() file: src/providers/uri.ts start line: 12 end line: 14 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 151 unit: constructor() file: src/providers/env.ts start line: 35 end line: 37 size: 2 LOC McCabe index: 1 number of parameters: 1