mirror of
https://github.com/owncast/owncast.git
synced 2024-11-24 13:50:06 +03:00
85e7af3d5f
* chore(go): update go version to 1.20. Closes #2185 * chore(go): run better align against project To optimize struct field order. Closes #2870 * chore(go): update CI jobs to use Go 1.20 * fix(go): linter warnings for Go 1.20 update
22 lines
556 B
Go
22 lines
556 B
Go
package indieauth
|
|
|
|
import (
|
|
"net/url"
|
|
"time"
|
|
)
|
|
|
|
// Request represents a single in-flight IndieAuth request.
|
|
type Request struct {
|
|
Timestamp time.Time
|
|
Endpoint *url.URL
|
|
Redirect *url.URL // Outbound redirect URL to continue auth flow
|
|
Callback *url.URL // Inbound URL to get auth flow results
|
|
Me *url.URL
|
|
UserID string
|
|
DisplayName string
|
|
CurrentAccessToken string
|
|
ClientID string
|
|
CodeVerifier string
|
|
CodeChallenge string
|
|
State string
|
|
}
|