Class BuilderExtensions
public static class BuilderExtensions
- Inheritance
-
BuilderExtensions
- Inherited Members
Methods
AddChangePasswordLink(ISubmenuBuilder, string, Func<string, string?>, Func<IServices, string, string, Task>, PasswordStrength)
public static void AddChangePasswordLink(this ISubmenuBuilder menuBuilder, string title, Func<string, string?> validatePassword, Func<IServices, string, string, Task> setPasswordAsync, PasswordStrength minimumPasswordStrengthScore)
Parameters
menuBuilderISubmenuBuildertitlestringvalidatePasswordFunc<string, string>setPasswordAsyncFunc<IServices, string, string, Task>minimumPasswordStrengthScorePasswordStrength
AddChangePasswordLink(ISubmenuBuilder, PasswordAuthentication)
public static void AddChangePasswordLink(this ISubmenuBuilder menuBuilder, PasswordAuthentication passwordAuthentication)
Parameters
menuBuilderISubmenuBuilderpasswordAuthenticationPasswordAuthentication
UseIntegratedLogin(Builder, IHttpClientFactory?, Uri?, Action<IntegratedLoginOptions>?)
Sets up a TabbedShell with a LoginScreen and "Change password" and "Sign out" menu buttons.
public static Builder UseIntegratedLogin(this Builder builder, IHttpClientFactory? autoupdateClientFactory = null, Uri? autoupdateServerAddress = null, Action<IntegratedLoginOptions>? configure = null)
Parameters
builderBuilderautoupdateClientFactoryIHttpClientFactoryThis parameter is passed through to the AutoUpdater constructor. Autoupdates will be disabled if neither the client factory nor the server address is set.
autoupdateServerAddressUriThis parameter is passed through to the AutoUpdater constructor. Autoupdates will be disabled if neither the client factory nor the server address is set.
configureAction<IntegratedLoginOptions>Set options to control LoginScreen behaviour.