Ability to copying authorization URL for Gmail (#375)
* Implemented copying auth URL for Gmail authentication. * Update Button icon and add row spacing in Flyout grid The icon used in the Button.Content has been updated to a new design and is now wrapped inside a Viewbox with a width of 20 to ensure proper scaling. Additionally, the Grid inside the Flyout now includes RowSpacing="12" to improve visual separation between rows.
This commit is contained in:
@@ -7,5 +7,5 @@ namespace Wino.Messaging.Server
|
||||
/// <summary>
|
||||
/// For delegating authentication/authorization to the server app.
|
||||
/// </summary>
|
||||
public record AuthorizationRequested(MailProviderType MailProviderType, MailAccount CreatedAccount) : IClientMessage;
|
||||
public record AuthorizationRequested(MailProviderType MailProviderType, MailAccount CreatedAccount, bool ProposeCopyAuthorizationURL) : IClientMessage;
|
||||
}
|
||||
|
||||
10
Wino.Messages/Server/CopyAuthURLRequested.cs
Normal file
10
Wino.Messages/Server/CopyAuthURLRequested.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using Wino.Messaging.UI;
|
||||
|
||||
namespace Wino.Messaging.Server
|
||||
{
|
||||
/// <summary>
|
||||
/// When authenticators are proposed to copy the auth URL on the UI.
|
||||
/// </summary>
|
||||
/// <param name="AuthURL">URL to be copied to clipboard.</param>
|
||||
public record CopyAuthURLRequested(string AuthURL) : UIMessageBase<CopyAuthURLRequested>;
|
||||
}
|
||||
Reference in New Issue
Block a user