Const BROWSER_LIST
BROWSER_LIST: object[] = [{test: [/googlebot/i],name: 'Googlebot'},{test: [/opera/i, /opr\/|opios/i],name: 'Opera',},{test: [/msie|trident/i],name: 'Internet Explorer',},{test: [/\sedg/i],name: 'Microsoft Edge'},{test: [/firefox|iceweasel|fxios/i],name: 'Firefox',},{test: [/chromium/i],name: 'Chromium'},{test: [/chrome|crios|crmo/i],name: 'Chrome',},{test: [/android/i],name: 'Android Browser'},{test: [/playstation 4/i],name: 'PlayStation 4',},{test: [/safari|applewebkit/i],name: 'Safari',}]
Const OS_LIST
OS_LIST: object[] = [/* Windows Phone */{name: 'Windows Phone',test: [/windows phone/i],},/* Windows */{test: [/windows/i],name: 'Windows'},/* macOS */{test: [/macintosh/i],name: 'macOS'},/* iOS */{test: [/(ipod|iphone|ipad)/i],name: 'iOS'},/* Android */{test: [/android/i],name: 'Android',},/* Linux */{test: [/linux/i],name: 'Linux',},/* Chrome OS */{test: [/CrOS/],name: 'Chrome OS'},/* Playstation 4 */{test: [/PlayStation 4/],name: 'PlayStation 4',},]
The callback function used to get the JWT as either
string
, or Jwt instance synchronously or asynchronously.