mirror of
https://github.com/writeas/writefreely
synced 2024-12-11 08:06:30 +01:00
10 lines
239 B
Go
10 lines
239 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
|
|
}
|