Function: registerSetTokenFunction()
function registerSetTokenFunction(override: (cluster: string, token: null | string) => void): void
Override headlamp setToken method
Parameters
Parameter | Type | Description |
---|---|---|
override | (cluster : string , token : null | string ) => void | The setToken override method to use. |
Returns
void
Example
registerSetTokenFunction((cluster: string, token: string | null) => {
// set token logic here
});