File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
bindings/matrix-sdk-ffi/src
crates/matrix-sdk/src/authentication/oidc Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -626,7 +626,7 @@ impl Client {
626
626
return Ok ( None ) ;
627
627
}
628
628
629
- match self . inner . oidc ( ) . account_management_url ( action. map ( Into :: into) ) . await {
629
+ match self . inner . oidc ( ) . fetch_account_management_url ( action. map ( Into :: into) ) . await {
630
630
Ok ( url) => Ok ( url. map ( |u| u. to_string ( ) ) ) ,
631
631
Err ( e) => {
632
632
tracing:: error!( "Failed retrieving account management URL: {e}" ) ;
Original file line number Diff line number Diff line change @@ -625,7 +625,7 @@ impl Oidc {
625
625
/// Returns `Ok(None)` if the URL was not found. Returns an error if the
626
626
/// request to get the provider metadata fails or the URL could not be
627
627
/// parsed.
628
- pub async fn account_management_url (
628
+ pub async fn fetch_account_management_url (
629
629
& self ,
630
630
action : Option < AccountManagementActionFull > ,
631
631
) -> Result < Option < Url > , OidcError > {
Original file line number Diff line number Diff line change @@ -444,7 +444,7 @@ impl OidcCli {
444
444
445
445
/// Get the account management URL.
446
446
async fn account ( & self , action : Option < AccountManagementActionFull > ) {
447
- match self . client . oidc ( ) . account_management_url ( action) . await {
447
+ match self . client . oidc ( ) . fetch_account_management_url ( action) . await {
448
448
Ok ( Some ( url) ) => {
449
449
println ! ( "\n To manage your account, visit: {url}" ) ;
450
450
}
You can’t perform that action at this time.
0 commit comments