mirror of
https://github.com/writeas/writefreely
synced 2025-01-08 14:02:26 +01:00
11 lines
240 B
Go
11 lines
240 B
Go
package oauth
|
|
|
|
import "context"
|
|
|
|
// ClientStateStore provides state management used by the OAuth client.
|
|
type ClientStateStore interface {
|
|
Generate(ctx context.Context) (string, error)
|
|
Validate(ctx context.Context, state string) error
|
|
}
|
|
|