feat: CR login, register, subscribe
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package contextkeyenum
|
||||
|
||||
type ContextKey string
|
||||
|
||||
const (
|
||||
Authorization ContextKey = "AUTHORIZATION_CONTEXT"
|
||||
Resource ContextKey = "RESOURCE_CONTEXT"
|
||||
)
|
||||
@@ -8,4 +8,5 @@ const (
|
||||
EXPIRED_AT JWTClaim = "exp"
|
||||
SESSION_ID JWTClaim = "sid"
|
||||
ISSUED_AT JWTClaim = "iat"
|
||||
RESOURCES JWTClaim = "resources"
|
||||
)
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
package resourceenum
|
||||
|
||||
type Resource string
|
||||
Reference in New Issue
Block a user