mirror of
https://github.com/owncast/owncast.git
synced 2024-11-28 03:01:32 +03:00
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 {
|
|
UserID string
|
|
DisplayName string
|
|
CurrentAccessToken string
|
|
Endpoint *url.URL
|
|
Redirect *url.URL // Outbound redirect URL to continue auth flow
|
|
Callback *url.URL // Inbound URL to get auth flow results
|
|
ClientID string
|
|
CodeVerifier string
|
|
CodeChallenge string
|
|
State string
|
|
Me *url.URL
|
|
Timestamp time.Time
|
|
}
|