Home
last modified time | relevance | path

Searched full:token (Results 1 – 25 of 311) sorted by relevance

12345678910>>...13

/openbmc/docs/
H A DREST-cheatsheet.md16 either an authentication token or the username and password passed in as part of
45 - Token based authentication.
49 …ort token=`curl -k -H "Content-Type: application/json" -X POST https://${bmc}/login -d '{"username…
50 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/...
59 using the 'Token based' login method as described above:
63 …ort token=`curl -k -H "Content-Type: application/json" -X POST https://${bmc}/login -d '{"username…
64 curl -k -H "X-Auth-Token: $token" https://$bmc/xyz/openbmc_project/...
70 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/list
71 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/enumerate
77 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/
[all …]
H A DREDFISH-cheatsheet.md28 A file, headers.txt, will be created. Find the `"X-Auth-Token"` in that file.
32 export bmc_token=<token>
39 …ort token=`curl -k -H "Content-Type: application/json" -X POST https://${bmc}/login -d '{"username…
40 curl -k -H "X-Auth-Token: $token" https://${bmc}/redfish/v1/...
50 curl -k -H "X-Auth-Token: $token" -X GET https://${bmc}/redfish/v1/Chassis
51 curl -k -H "X-Auth-Token: $token" -X GET https://${bmc}/redfish/v1/Managers
52 curl -k -H "X-Auth-Token: $token" -X GET https://${bmc}/redfish/v1/Systems
60 curl -k -H "X-Auth-Token: $token" https://${bmc}/redfish/v1/SessionService/Sessions
70 curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X POST https://${bmc}/redfis…
76 curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X POST https://${bmc}/redfis…
[all …]
H A Dhost-management.md11 This document uses token based authentication method:
15 …ort token=`curl -k -H "Content-Type: application/json" -X POST https://${bmc}/login -d '{"username…
16 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/...
45 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/inventory/enumerate
51 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/inventory/system/chassis/mothe…
85 … curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/sensors/temperature/ocp_zone
116 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/sensors/enumerate
122 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/sensors/temperature/outlet
147 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/logging/entry
166 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/logging/entry/1
[all …]
H A Drest-api.md19 This tutorial uses token based authentication method:
23 …port token=`curl -k -H "Content-Type: application/json" -X POST https://${bmc}/login -d '{"usernam…
24 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/...
36 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/inventory/system
62 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/inventory/system/attr/Cached
77 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/
116 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/network/list
151 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/time/enumerate
182 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/state/host0 > host.json
203 curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/state/host0/attr/RequestedHost…
[all …]
/openbmc/qemu/qobject/
H A Djson-parser.c58 JSONToken *token, const char *msg, ...) in parse_error() argument
129 static QString *parse_string(JSONParserContext *ctxt, JSONToken *token) in parse_string() argument
131 const char *ptr = token->str; in parse_string()
197 parse_error(ctxt, token, in parse_string()
205 parse_error(ctxt, token, "invalid escape sequence in string"); in parse_string()
212 parse_error(ctxt, token, "can't interpolate into string"); in parse_string()
221 parse_error(ctxt, token, "invalid UTF-8 sequence in string"); in parse_string()
238 /* Note: the token object returned by parser_context_peek_token or
262 JSONToken *peek, *token; in parse_pair() local
277 token = parser_context_pop_token(ctxt); in parse_pair()
[all …]
/openbmc/u-boot/drivers/net/fsl-mc/
H A Ddpni.c34 uint16_t *token) in dpni_open() argument
51 *token = MC_CMD_HDR_READ_TOKEN(cmd.header); in dpni_open()
58 uint16_t token) in dpni_close() argument
65 token); in dpni_close()
118 uint16_t token, in dpni_set_pools() argument
126 token); in dpni_set_pools()
135 uint16_t token) in dpni_enable() argument
142 token); in dpni_enable()
150 uint16_t token) in dpni_disable() argument
157 token); in dpni_disable()
[all …]
H A Ddprc.c39 uint16_t *token) in dprc_open() argument
55 *token = MC_CMD_HDR_READ_TOKEN(cmd.header); in dprc_open()
62 uint16_t token) in dprc_close() argument
68 token); in dprc_close()
76 uint16_t token, in dprc_create_container() argument
89 token); in dprc_create_container()
105 uint16_t token, in dprc_destroy_container() argument
113 token); in dprc_destroy_container()
122 uint16_t token, in dprc_reset_container() argument
130 token); in dprc_reset_container()
[all …]
H A Ddpmac.c17 uint16_t *token) in dpmac_open() argument
34 *token = MC_CMD_HDR_READ_TOKEN(cmd.header); in dpmac_open()
41 uint16_t token) in dpmac_close() argument
47 token); in dpmac_close()
100 uint16_t token, in dpmac_get_attributes() argument
109 token); in dpmac_get_attributes()
124 uint16_t token, in dpmac_mdio_read() argument
133 token); in dpmac_mdio_read()
149 uint16_t token, in dpmac_mdio_write() argument
157 token); in dpmac_mdio_write()
[all …]
H A Ddpbp.c15 uint16_t *token) in dpbp_open() argument
32 *token = MC_CMD_HDR_READ_TOKEN(cmd.header); in dpbp_open()
39 uint16_t token) in dpbp_close() argument
45 token); in dpbp_close()
99 uint16_t token) in dpbp_enable() argument
105 token); in dpbp_enable()
113 uint16_t token) in dpbp_disable() argument
120 token); in dpbp_disable()
128 uint16_t token) in dpbp_reset() argument
135 token); in dpbp_reset()
[all …]
/openbmc/u-boot/include/fsl-mc/
H A Dfsl_dpbp.h54 * @token: Returned token; use in subsequent API calls
59 * This function returns a unique authentication token,
61 * portal; this token must be used in all subsequent commands for
69 uint16_t *token);
75 * @token: Token of DPBP object
84 uint16_t token);
99 * @token: Returned token; use in subsequent API calls
106 * This function returns a unique authentication token,
108 * portal; this token must be used in all subsequent calls to
111 * token first.
[all …]
H A Dfsl_dpio.h61 * @token: Returned token; use in subsequent API calls
66 * This function returns a unique authentication token,
68 * portal; this token must be used in all subsequent commands for
76 uint16_t *token);
82 * @token: Token of DPIO object
88 uint16_t token);
116 * @token: Authentication token.
127 * This function returns a unique authentication token,
129 * portal; this token must be used in all subsequent calls to
132 * token first.
[all …]
H A Dfsl_dpmac.h104 * @token: Returned token; use in subsequent API calls
109 * This function returns a unique authentication token,
111 * portal; this token must be used in all subsequent commands for
119 uint16_t *token);
125 * @token: Token of DPMAC object
134 uint16_t token);
189 * @token: Authentication token.
199 * This function returns a unique authentication token,
201 * portal; this token must be used in all subsequent calls to
204 * token first.
[all …]
H A Dfsl_dpni.h354 * @token: Returned token; use in subsequent API calls
359 * This function returns a unique authentication token,
361 * portal; this token must be used in all subsequent commands for
369 uint16_t *token);
375 * @token: Token of DPNI object
384 uint16_t token);
512 * @token: Authentication token.
523 * This function returns a unique authentication token,
525 * portal; this token must be used in all subsequent calls to
528 * token first.
[all …]
/openbmc/u-boot/tools/
H A Dublimage.c47 static uint32_t get_cfg_value(char *token, char *name, int linenr) in get_cfg_value() argument
53 value = strtoul(token, &endptr, 16); in get_cfg_value()
54 if (errno || (token == endptr)) { in get_cfg_value()
56 name, linenr, token); in get_cfg_value()
72 static void parse_cfg_cmd(struct ubl_header *ublhdr, int32_t cmd, char *token, in parse_cfg_cmd() argument
80 "ublimage special boot mode", token); in parse_cfg_cmd()
83 "(%s)\n", name, lineno, token); in parse_cfg_cmd()
91 ublhdr->entry = get_cfg_value(token, name, lineno); in parse_cfg_cmd()
94 ublhdr->pages = get_cfg_value(token, name, lineno); in parse_cfg_cmd()
97 ublhdr->block = get_cfg_value(token, name, lineno); in parse_cfg_cmd()
[all …]
H A Dmingw_support.c87 char *token; in strtok_r() local
99 /* Find the end of the token. */ in strtok_r()
100 token = s; in strtok_r()
101 s = strpbrk (token, delim); in strtok_r()
103 /* This token finishes the string. */ in strtok_r()
104 *save_ptr = memchr(token, '\0', strlen(token)); in strtok_r()
106 /* Terminate the token and make *SAVE_PTR point past it. */ in strtok_r()
110 return token; in strtok_r()
/openbmc/qemu/tests/qtest/libqos/
H A Dpci.c397 uint8_t qpci_io_readb(QPCIDevice *dev, QPCIBar token, uint64_t off) in qpci_io_readb() argument
401 if (token.is_io) { in qpci_io_readb()
402 return bus->pio_readb(bus, token.addr + off); in qpci_io_readb()
406 bus->memread(dev->bus, token.addr + off, &val, sizeof(val)); in qpci_io_readb()
411 uint16_t qpci_io_readw(QPCIDevice *dev, QPCIBar token, uint64_t off) in qpci_io_readw() argument
415 if (token.is_io) { in qpci_io_readw()
416 return bus->pio_readw(bus, token.addr + off); in qpci_io_readw()
420 bus->memread(bus, token.addr + off, &val, sizeof(val)); in qpci_io_readw()
425 uint32_t qpci_io_readl(QPCIDevice *dev, QPCIBar token, uint64_t off) in qpci_io_readl() argument
429 if (token.is_io) { in qpci_io_readl()
[all …]
H A Dpci.h105 uint8_t qpci_io_readb(QPCIDevice *dev, QPCIBar token, uint64_t off);
106 uint16_t qpci_io_readw(QPCIDevice *dev, QPCIBar token, uint64_t off);
107 uint32_t qpci_io_readl(QPCIDevice *dev, QPCIBar token, uint64_t off);
108 uint64_t qpci_io_readq(QPCIDevice *dev, QPCIBar token, uint64_t off);
110 void qpci_io_writeb(QPCIDevice *dev, QPCIBar token, uint64_t off,
112 void qpci_io_writew(QPCIDevice *dev, QPCIBar token, uint64_t off,
114 void qpci_io_writel(QPCIDevice *dev, QPCIBar token, uint64_t off,
116 void qpci_io_writeq(QPCIDevice *dev, QPCIBar token, uint64_t off,
119 void qpci_memread(QPCIDevice *bus, QPCIBar token, uint64_t off,
121 void qpci_memwrite(QPCIDevice *bus, QPCIBar token, uint64_t off,
/openbmc/u-boot/drivers/net/fsl-mc/dpio/
H A Ddpio.c14 uint16_t *token) in dpio_open() argument
31 *token = MC_CMD_HDR_READ_TOKEN(cmd.header); in dpio_open()
38 uint16_t token) in dpio_close() argument
45 token); in dpio_close()
98 uint16_t token) in dpio_enable() argument
105 token); in dpio_enable()
113 uint16_t token) in dpio_disable() argument
120 token); in dpio_disable()
128 uint16_t token) in dpio_reset() argument
135 token); in dpio_reset()
[all …]
/openbmc/webui-vue/src/store/modules/Authentication/
H A DAuthenticanStore.js11 xsrfCookie: Cookies.get('XSRF-TOKEN'),
20 // We might have gotten XSRF-TOKEN (and HttpOnly SESSION cookie) by Mutual TLS authentication,
29 token: (state) => state.xsrfCookie,
32 authSuccess(state, { session, token }) {
34 state.xsrfCookie = Cookies.get('XSRF-TOKEN');
39 // Redfish implementation that is not bmcweb. In this case get the token
43 api.set_auth_token(token);
44 state.xAuthToken = token;
51 Cookies.remove('XSRF-TOKEN');
74 token: headers['x-auth-token'], property in AnonymousClassdd0a6d100601
[all …]
/openbmc/u-boot/scripts/kconfig/
H A Dzconf.y46 %token <id>T_MAINMENU
47 %token <id>T_MENU
48 %token <id>T_ENDMENU
49 %token <id>T_SOURCE
50 %token <id>T_CHOICE
51 %token <id>T_ENDCHOICE
52 %token <id>T_COMMENT
53 %token <id>T_CONFIG
54 %token <id>T_MENUCONFIG
55 %token <id>T_HELP
[all …]
/openbmc/qemu/hw/ppc/
H A Dspapr_rtas.c55 uint32_t token, uint32_t nargs, in rtas_display_character() argument
71 uint32_t token, uint32_t nargs, target_ulong args, in rtas_power_off() argument
84 uint32_t token, uint32_t nargs, in rtas_system_reboot() argument
98 uint32_t token, uint32_t nargs, in rtas_query_cpu_stopped_state() argument
129 uint32_t token, uint32_t nargs, in rtas_start_cpu() argument
205 uint32_t token, uint32_t nargs, in rtas_stop_self() argument
228 uint32_t token, uint32_t nargs, in rtas_ibm_suspend_me() argument
272 uint32_t token, uint32_t nargs, in rtas_ibm_get_system_parameter() argument
329 uint32_t token, uint32_t nargs, in rtas_ibm_set_system_parameter() argument
349 uint32_t token, uint32_t nargs, in rtas_ibm_os_term() argument
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/server/
H A Dxmlrpcclient.py36 def set_connection_token(self, token): argument
37 self.connection_token = token
41 h.putheader("Bitbake-token", self.connection_token)
85 def connect(self, token = None): argument
86 if token is None:
88 token = "observer"
90 token = self.connection.addClient()
92 if token is None:
95 self.transport.set_connection_token(token)
114 def connectXMLRPC(remote, featureset, observer_only = False, token = None): argument
[all …]
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/psa-adac/
H A D0001-PSA-revert-header-versions.patch4 Subject: [PATCH] Revert ADAC cert and token version
7 [1] repository. The versions of the certificate and token are checked
9 if there is a mismatch between the sent certificate/token and expected
10 certificate/token versions.
15 Upstream-Status: Inappropriate [Add newer dummy token and cert]
26 * Current version numbers for certificate and token format.
/openbmc/qemu/hw/i386/kvm/
H A Dtrace-events17 xenstore_watch(const char *path, const char *token) "path %s token %s"
18 xenstore_unwatch(const char *path, const char *token) "path %s token %s"
20 xenstore_watch_event(const char *path, const char *token) "path %s token %s"
/openbmc/openbmc/poky/bitbake/lib/bb/pysh/
H A Dpyshyacc.py44 assert False, "Invalid IO redirection token %s" % repr(io_type)
249 # Rearrange 'For' priority wrt TOKEN. See p_for_word
273 """name : token""" #Was NAME instead of token
281 """wordlist : wordlist token
282 | token"""
284 p[0] = ['wordlist', ('TOKEN', p[1])]
286 p[0] = p[1] + [('TOKEN', p[2])]
289 """case_clause : Case token linebreak in linebreak case_list Esac
290 | Case token linebreak in linebreak case_list_ns Esac
291 | Case token linebreak in linebreak Esac"""
[all …]

12345678910>>...13