Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/headers/lnurl_auth_jwt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ impl LnurlAuthToJwtProvider {
parse_jwt_token(untrusted_token)
}

async fn get_jwt_token(&self, force_refresh: bool) -> Result<String, VssHeaderProviderError> {
pub async fn get_jwt_token(&self, force_refresh: bool) -> Result<String, VssHeaderProviderError> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't you already get an exposed variant of this as part of the VssHeaderProvider::get_headers impl below?

If we make this public, this needs docs.

let cached_token_str = if force_refresh {
None
} else {
Expand Down
Loading