@using BTCPayServer.Security.OpenId @using OpenIddict.Abstractions @model BTCPayServer.Models.Authorization.AuthorizeViewModel @{ var scopeMappings = new Dictionary() { {BTCPayScopes.StoreManagement, ("Manage your stores", "The app will be able to create, modify and delete all your stores.")}, {BTCPayScopes.ServerManagement, ("Manage your server", "The app will have total control on your server")}, }; }

Authorization Request


@Model.ApplicationName is requesting access to your account.

@foreach (var scope in Model.Scope) { @if (scopeMappings.TryGetValue(scope, out var text)) {
  • @text.Title

    @text.Description.

  • } }