File size: 336 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
package mockslack

import (
	"regexp"
)

var (
	scopeRx           = regexp.MustCompile(`^[a-z]+(:[a-z]+)*$`)
	clientIDRx        = regexp.MustCompile(`^[0-9]{12}.[0-9]{12}$`)
	clientSecretRx    = regexp.MustCompile(`^[a-z0-9]{32}$`)
	userAccessTokenRx = regexp.MustCompile(`^xoxp-[0-9]{10,12}-[0-9]{10,12}-[0-9]{10,12}-[a-z0-9]{32}$`)
)