bearer static method
默认格式:Authorization: Bearer {token}
Implementation
static TokenFormatConfig bearer() {
return TokenFormatConfig(
headerKey: 'Authorization',
prefix: 'Bearer',
useSpaceAfterPrefix: true,
);
}
默认格式:Authorization: Bearer {token}
static TokenFormatConfig bearer() {
return TokenFormatConfig(
headerKey: 'Authorization',
prefix: 'Bearer',
useSpaceAfterPrefix: true,
);
}