Interface WebRequestAuthRequiredEvent

Hierarchy

  • Event
    • WebRequestAuthRequiredEvent

Index

Methods

Methods

public addListener(callback: (details: chrome.webRequest.OnAuthRequiredDetails, callback?: (response: chrome.webRequest.BlockingResponse) => void, filter?: chrome.webRequest.RequestFilter, opt_extraInfoSpec?: string[]) => void)

Parameters

  • callback: (details: chrome.webRequest.OnAuthRequiredDetails, callback?: (response: chrome.webRequest.BlockingResponse) => void, filter?: chrome.webRequest.RequestFilter, opt_extraInfoSpec?: string[]) => void

public addRules(rules: Rule[], callback?: (rules: chrome.events.Rule[]) => void)

Parameters

  • rules: Rule[]
  • callback?: (rules: chrome.events.Rule[]) => void optional

public getRules(callback: (rules: chrome.events.Rule[]) => void)

Parameters

  • callback: (rules: chrome.events.Rule[]) => void

public getRules(ruleIdentifiers: Array<string>, callback: (rules: chrome.events.Rule[]) => void)

Parameters

  • ruleIdentifiers: Array<string>
  • callback: (rules: chrome.events.Rule[]) => void

public hasListener(callback: Function)

Parameters

  • callback: Function

public hasListeners(): boolean

Returns

boolean

public removeListener(callback: Function)

Parameters

  • callback: Function

public removeRules(ruleIdentifiers?: Array<string>, callback?: Function)

Parameters

  • ruleIdentifiers?: Array<string> optional
  • callback?: Function optional