Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Organization (0.21 sec)

  1. tests/associations_test.go

    	type Organization struct {
    		gorm.Model
    		Name string
    	}
    	type Region struct {
    		gorm.Model
    		Name          string
    		Organizations []Organization `gorm:"many2many:region_orgs;"`
    	}
    	type RegionOrg struct {
    		RegionId       uint
    		OrganizationId uint
    		Empty          myType
    	}
    	if err := DB.SetupJoinTable(&Region{}, "Organizations", &RegionOrg{}); err != nil {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Feb 08 08:29:09 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  2. cmd/sts-handlers.go

    	parentUser := "tls:" + certificate.Subject.CommonName
    
    	claims[expClaim] = UTCNow().Add(expiry).Unix()
    	claims[subClaim] = certificate.Subject.CommonName
    	claims[audClaim] = certificate.Subject.Organization
    	claims[issClaim] = certificate.Issuer.CommonName
    	claims[parentClaim] = parentUser
    	secretKey, err := getTokenSigningKey()
    	if err != nil {
    		writeSTSErrorResponse(ctx, w, ErrSTSInternalError, err)
    		return
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
Back to top