| 1234567891011121314151617 |
- export class BaiduConstants {
- static readonly APP_ID: string = '120810251';
- static readonly APP_KEY: string = 'VOUah0fCL4RfFPshCmC2iSrRUPHXMXMX';
- static readonly SECRET_KEY: string = '1qSVRFM34jSmOSdcqqqXKwimlHghU4nc';
- static readonly SIGN_KEY: string = 'jc7sCtsAMp*kzSnIYA%4uCwmbPFF%PF*';
- static readonly USER_AGENT: string = 'pan.baidu.com';
- static readonly STREAMING_USER_AGENT: string = 'xpanaudio;TTMusic;1.0;openharmony;4.0;ts';
- static readonly STREAMING_AUDIO_TYPE: string = 'M3U8_HLS_MP3_128';
- static readonly AUTHORIZE_URL: string = 'https://openapi.baidu.com/oauth/2.0/authorize';
- static readonly DEVICE_CODE_URL: string = 'https://openapi.baidu.com/oauth/2.0/device/code';
- static readonly TOKEN_URL: string = 'https://openapi.baidu.com/oauth/2.0/token';
- static readonly OPENAPI_BASE: string = 'https://openapi.baidu.com';
- static readonly PAN_BASE: string = 'https://pan.baidu.com';
- static readonly AUTH_SCOPE: string = 'basic,netdisk';
- static readonly OOB_REDIRECT_PARAM: string = 'oob';
- static readonly LOGIN_SUCCESS_URL: string = 'http://openapi.baidu.com/oauth/2.0/login_success';
- }
|