forked from matthewhartstonge/storage
/
entities.go
39 lines (30 loc) · 1.54 KB
/
entities.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package storage
const (
// EntityOpenIDSessions provides the name of the entity to use in order to
// create, read, update and delete OpenID Sessions.
EntityOpenIDSessions = "openIDConnectSessions"
// EntityAccessTokens provides the name of the entity to use in order to
// create, read, update and delete Access Token sessions.
EntityAccessTokens = "accessTokens"
// EntityRefreshTokens provides the name of the entity to use in order to
// create, read, update and delete Refresh Token sessions.
EntityRefreshTokens = "refreshTokens"
// EntityAuthorizationCodes provides the name of the entity to use in order
// to create, read, update and delete Authorization Code sessions.
EntityAuthorizationCodes = "authorizationCodes"
// EntityPKCESessions provides the name of the entity to use in order to
// create, read, update and delete Proof Key for Code Exchange sessions.
EntityPKCESessions = "pkceSessions"
// EntityClients provides the name of the entity to use in order to create,
// read, update and delete Clients.
EntityClients = "clients"
// EntityUsers provides the name of the entity to use in order to create,
// read, update and delete Users.
EntityUsers = "users"
// EntityCacheAccessTokens provides the name of the entity to use in order
// to create, read, update and delete Cache Access Tokens.
EntityCacheAccessTokens = "cacheAccessTokens"
// EntityCacheRefreshTokens provides the name of the entity to use in
// order to create, read, update and delete Cache Refresh Tokens.
EntityCacheRefreshTokens = "cacheRefreshTokens"
)