You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
346 B
Plaintext
18 lines
346 B
Plaintext
{% import (
|
|
"source.toby3d.me/toby3d/auth/internal/domain"
|
|
) %}
|
|
|
|
{% code type CallbackPage struct {
|
|
BaseOf
|
|
Token *domain.Token
|
|
} %}
|
|
|
|
{% collapsespace %}
|
|
{% func (p *CallbackPage) Body() %}
|
|
{% if p.Token != nil %}
|
|
<h1>{%s p.Token.Me.String() %}</h1>
|
|
<small>{%s p.Token.AccessToken %}</small>
|
|
{% endif %}
|
|
{% endfunc %}
|
|
{% endcollapsespace %}
|