1package oauth 2 3import "context" 4 5// ClientStateStore provides state management used by the OAuth client. 6type ClientStateStore interface { 7 Generate(ctx context.Context) (string, error) 8 Validate(ctx context.Context, state string) error 9} 10