21 lines
434 B
Plaintext
21 lines
434 B
Plaintext
{% package template %}
|
|
|
|
{% import (
|
|
"source.toby3d.me/toby3d/auth/internal/domain"
|
|
"source.toby3d.me/toby3d/auth/web/template/layout"
|
|
) %}
|
|
|
|
{% code type Callback struct {
|
|
layout.BaseOf
|
|
Token *domain.Token
|
|
} %}
|
|
|
|
{% collapsespace %}
|
|
{% func (p *Callback) Body() %}
|
|
{% if p.Token != nil %}
|
|
<h1>{%s p.Token.Me.String() %}</h1>
|
|
<small>{%s p.Token.AccessToken %}</small>
|
|
{% endif %}
|
|
{% endfunc %}
|
|
{% endcollapsespace %}
|