@page @model IdentitySvc.Pages.Device.Index @{ } @if (Model.Input.UserCode == null) { @*We need to collect the user code*@

User Code

Please enter the code displayed on your device.

} else { @*collect consent for the user code provided*@
@if (Model.View.ClientLogoUrl != null) { }

@Model.View.ClientName is requesting your permission

Please confirm that the authorization request matches the code: @Model.Input.UserCode.

Uncheck the permissions you do not wish to grant.

@if (Model.View.IdentityScopes.Any()) {
Personal Information
    @foreach (var scope in Model.View.IdentityScopes) { }
} @if (Model.View.ApiScopes.Any()) {
Application Access
    @foreach (var scope in Model.View.ApiScopes) { }
}
Description
@if (Model.View.AllowRememberConsent) {
}
@if (Model.View.ClientUrl != null) { @Model.View.ClientName }
}