Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for WithRealm (0.06 sec)

  1. internal/config/identity/openid/provider/keycloak.go

    }
    
    // WithAdminURL provide admin URL configuration for Keycloak
    func WithAdminURL(url string) Option {
    	return func(p *KeycloakProvider) {
    		p.adminURL = url
    	}
    }
    
    // WithRealm provide realm configuration for Keycloak
    func WithRealm(realm string) Option {
    	return func(p *KeycloakProvider) {
    		p.realm = realm
    	}
    }
    
    // KeyCloak initializes a new keycloak provider
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 14 18:12:07 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. internal/config/identity/openid/providercfg.go

    		p.provider, err = provider.KeyCloak(
    			provider.WithAdminURL(adminURL),
    			provider.WithOpenIDConfig(provider.DiscoveryDoc(p.DiscoveryDoc)),
    			provider.WithTransport(transport),
    			provider.WithRealm(realm),
    		)
    		return err
    	default:
    		return fmt.Errorf("Unsupported vendor %s", keyCloakVendor)
    	}
    }
    
    // GetRoleArn returns the role ARN.
    func (p *providerCfg) GetRoleArn() string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top