Skip to content

Commit 4e59fe8

Browse files
authored
1 parent ff1f46c commit 4e59fe8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/credential_provider.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,11 @@ impl CredentialProvider {
107107
&self.cache_http_endpoint
108108
}
109109

110+
/// Returns the user's auth token for momento HTTP apis
111+
pub fn auth_token(&self) -> &str {
112+
&self.auth_token
113+
}
114+
110115
/// Returns a Credential Provider from the provided API key
111116
///
112117
/// # Arguments

0 commit comments

Comments
 (0)