Skip to content

Commit

Permalink
acquire fn public in admin token retriever
Browse files Browse the repository at this point in the history
We need to get the admin token for service accounts.
  • Loading branch information
ovnicraft authored and kilork committed Jun 18, 2024
1 parent ee1bb2b commit 732748f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rest/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ impl KeycloakServiceAccountAdminTokenRetriever {
}
}

async fn acquire(&self, url: &str) -> Result<KeycloakAdminToken, KeycloakError> {
pub async fn acquire(&self, url: &str) -> Result<KeycloakAdminToken, KeycloakError> {
let realm = &self.realm;
let response = self
.reqwest_client
Expand Down

0 comments on commit 732748f

Please sign in to comment.