AddRoblox (Extension)

Namespace BloxTeams.OpenCloud.AspNetCore.Extensions

Class OpenCloudAuthenticationBuilderExtensions

public static AuthenticationBuilder AddRoblox(this AuthenticationBuilder builder, Action<ConfigureRobloxAuthenticationOptions> configureOptions)

Adds and configures Roblox OAuth as an authentication scheme.

Remarks

When calling this extension method, ConfigureRobloxAuthenticationOptions.Events.OnCreatingTicket is executed after a pre-defined callback which runs claim actions.

If you need to customize how and when claims are saved into the ClaimsIdentity you should first clear its claims and then call OAuthCreatingTicketContext.RunClaimActions().

Last updated

Was this helpful?