iris/_examples/auth/goth/templates/user.html
Gerasimos (Makis) Maropoulos f93c8b13bc
minor: oauth2 example updates
2020-08-30 17:51:53 +03:00

20 lines
546 B
HTML

<p><a href="/logout/{{.Provider}}">logout</a></p>
<p>Name: {{.Name}} [{{.LastName}}, {{.FirstName}}]</p>
<p>Email: {{.Email}}</p>
<p>NickName: {{.NickName}}</p>
<p>Location: {{.Location}}</p>
<p>AvatarURL: {{.AvatarURL}} <img src="{{.AvatarURL}}"></p>
<p>Description: {{.Description}}</p>
<p>UserID: {{.UserID}}</p>
<p>AccessToken: {{.AccessToken}}</p>
<p>ExpiresAt: {{.ExpiresAt}}</p>
<p>RefreshToken: {{.RefreshToken}}</p>
<hr/>
<h3>Iterate all properties</h3>
{{range $key, $value := .RawData}}
{{ $key }} => {{ $value }} <br/>
{{end}}