{% import "gitlab.com/toby3d/indieauth/internal/model" %} {% code type AuthPage struct { Client *model.Client CodeChallenge string CodeChallengeMethod string CSRF []byte Me string RedirectURI string ResponseType string Scope string State []byte } %} {% func (p *AuthPage) Lang() %} en {% endfunc %} {% func (p *AuthPage) Title() %} Authorize {%s p.Client.Name %} {% endfunc %} {% func (p *AuthPage) Head() %} {% endfunc %} {% func (p *AuthPage) Body() %} {% if p.Client.Logo != "" %} {%s p.Client.Name %} {% endif %}

{%s p.Client.Name %}

{% if p.CSRF != nil %} {% endif %} {% if p.CodeChallenge != "" %} {% endif %} {% if p.Scope != "" %} {% endif %} {% if p.Me != "" %} {% endif %}
{% endfunc %}