Skip to content

Commit

Permalink
make TokenResponse::new public (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
gzp79 authored Oct 12, 2020
1 parent 1b17bd3 commit 27e0c5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdks/auth_aad/src/token_credentials/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pub struct TokenResponse {
}

impl TokenResponse {
pub(crate) fn new(token: AccessToken, expires_on: DateTime<Utc>) -> Self {
pub fn new(token: AccessToken, expires_on: DateTime<Utc>) -> Self {
TokenResponse { token, expires_on }
}
}
Expand Down

0 comments on commit 27e0c5c

Please sign in to comment.