Documentation ¶
Overview ¶
TODO: This library is imported from ror, should determine if its a public library or not
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var IdentityClusterValid identitymodels.Identity = identitymodels.Identity{ Type: identitymodels.IdentityTypeCluster, ClusterIdentity: &identitymodels.ServiceIdentity{ Id: "test-cluster-43232", }, ServiceIdentity: &identitymodels.ServiceIdentity{ Id: "", }, }
View Source
var IdentityServiceValid identitymodels.Identity = identitymodels.Identity{ Type: identitymodels.IdentityTypeCluster, ServiceIdentity: &identitymodels.ServiceIdentity{ Id: "serivce-test@ror.system", }, }
View Source
var IdentityUserValid identitymodels.Identity = identitymodels.Identity{ Type: identitymodels.IdentityTypeUser, User: &identitymodels.User{ Email: "valid.user@ror.dev", IsEmailVerified: true, Name: "Valid User", Groups: []string{ "test1@ror.dev", "test1-admin@ror.dev", }, Audience: "", Issuer: "", ExpirationTime: 0, }, }
Functions ¶
func ValiduserWithGroups ¶
func ValiduserWithGroups(groups []string) identitymodels.Identity
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.