// Code generated by qtc from "auth.qtpl". DO NOT EDIT.
// See https://github.com/valyala/quicktemplate for details.
//line ../../web/auth.qtpl:1
package web
//line ../../web/auth.qtpl:1
import "gitlab.com/toby3d/indieauth/internal/model"
//line ../../web/auth.qtpl:3
import (
qtio422016 "io"
qt422016 "github.com/valyala/quicktemplate"
)
//line ../../web/auth.qtpl:3
var (
_ = qtio422016.Copy
_ = qt422016.AcquireByteBuffer
)
//line ../../web/auth.qtpl:4
type AuthPage struct {
Client *model.Client
CodeChallenge string
CodeChallengeMethod string
CSRF []byte
Me string
RedirectURI string
ResponseType string
Scope string
State []byte
}
//line ../../web/auth.qtpl:17
func (p *AuthPage) StreamLang(qw422016 *qt422016.Writer) {
//line ../../web/auth.qtpl:17
qw422016.N().S(`
en
`)
//line ../../web/auth.qtpl:19
}
//line ../../web/auth.qtpl:19
func (p *AuthPage) WriteLang(qq422016 qtio422016.Writer) {
//line ../../web/auth.qtpl:19
qw422016 := qt422016.AcquireWriter(qq422016)
//line ../../web/auth.qtpl:19
p.StreamLang(qw422016)
//line ../../web/auth.qtpl:19
qt422016.ReleaseWriter(qw422016)
//line ../../web/auth.qtpl:19
}
//line ../../web/auth.qtpl:19
func (p *AuthPage) Lang() string {
//line ../../web/auth.qtpl:19
qb422016 := qt422016.AcquireByteBuffer()
//line ../../web/auth.qtpl:19
p.WriteLang(qb422016)
//line ../../web/auth.qtpl:19
qs422016 := string(qb422016.B)
//line ../../web/auth.qtpl:19
qt422016.ReleaseByteBuffer(qb422016)
//line ../../web/auth.qtpl:19
return qs422016
//line ../../web/auth.qtpl:19
}
//line ../../web/auth.qtpl:21
func (p *AuthPage) StreamTitle(qw422016 *qt422016.Writer) {
//line ../../web/auth.qtpl:21
qw422016.N().S(`
Authorize `)
//line ../../web/auth.qtpl:22
qw422016.E().S(p.Client.Name)
//line ../../web/auth.qtpl:22
qw422016.N().S(`
`)
//line ../../web/auth.qtpl:23
}
//line ../../web/auth.qtpl:23
func (p *AuthPage) WriteTitle(qq422016 qtio422016.Writer) {
//line ../../web/auth.qtpl:23
qw422016 := qt422016.AcquireWriter(qq422016)
//line ../../web/auth.qtpl:23
p.StreamTitle(qw422016)
//line ../../web/auth.qtpl:23
qt422016.ReleaseWriter(qw422016)
//line ../../web/auth.qtpl:23
}
//line ../../web/auth.qtpl:23
func (p *AuthPage) Title() string {
//line ../../web/auth.qtpl:23
qb422016 := qt422016.AcquireByteBuffer()
//line ../../web/auth.qtpl:23
p.WriteTitle(qb422016)
//line ../../web/auth.qtpl:23
qs422016 := string(qb422016.B)
//line ../../web/auth.qtpl:23
qt422016.ReleaseByteBuffer(qb422016)
//line ../../web/auth.qtpl:23
return qs422016
//line ../../web/auth.qtpl:23
}
//line ../../web/auth.qtpl:25
func (p *AuthPage) StreamHead(qw422016 *qt422016.Writer) {
//line ../../web/auth.qtpl:25
qw422016.N().S(`
`)
//line ../../web/auth.qtpl:26
}
//line ../../web/auth.qtpl:26
func (p *AuthPage) WriteHead(qq422016 qtio422016.Writer) {
//line ../../web/auth.qtpl:26
qw422016 := qt422016.AcquireWriter(qq422016)
//line ../../web/auth.qtpl:26
p.StreamHead(qw422016)
//line ../../web/auth.qtpl:26
qt422016.ReleaseWriter(qw422016)
//line ../../web/auth.qtpl:26
}
//line ../../web/auth.qtpl:26
func (p *AuthPage) Head() string {
//line ../../web/auth.qtpl:26
qb422016 := qt422016.AcquireByteBuffer()
//line ../../web/auth.qtpl:26
p.WriteHead(qb422016)
//line ../../web/auth.qtpl:26
qs422016 := string(qb422016.B)
//line ../../web/auth.qtpl:26
qt422016.ReleaseByteBuffer(qb422016)
//line ../../web/auth.qtpl:26
return qs422016
//line ../../web/auth.qtpl:26
}
//line ../../web/auth.qtpl:28
func (p *AuthPage) StreamBody(qw422016 *qt422016.Writer) {
//line ../../web/auth.qtpl:28
qw422016.N().S(`
`)
//line ../../web/auth.qtpl:29
if p.Client.Logo != "" {
//line ../../web/auth.qtpl:29
qw422016.N().S(`
`)
//line ../../web/auth.qtpl:40
}
//line ../../web/auth.qtpl:40
qw422016.N().S(`