keycloak

package
v1.10.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Requests save in this file are exclusive of keycloak e2e

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIfTokenIsValid

func CheckIfTokenIsValid(t *testing.T, token, secret string)

func CreateUserFromKeycloakInHorusec

func CreateUserFromKeycloakInHorusec(t *testing.T, token *authDto.KeycloakToken)

func CreateUserInKeyCloak

func CreateUserInKeyCloak(t *testing.T, userRepresentation *entities.UserRepresentation, credentials *entities.UserRepresentationCredentials, bearerToken string)

func DeleteAllUsersInKeyCloak

func DeleteAllUsersInKeyCloak(t *testing.T, bearerToken string)

func GetAllRolesFromClientID

func GetAllRolesFromClientID(t *testing.T, bearerToken, clientID string) []map[string]interface{}

func GetClientSecretInAccountClient

func GetClientSecretInAccountClient(t *testing.T, bearerToken string) string

func GetRoleAdminInKeycloak

func GetRoleAdminInKeycloak(t *testing.T, bearerToken string) map[string]interface{}

func ListAllClientsInKeycloak

func ListAllClientsInKeycloak(t *testing.T, bearerToken string) []map[string]interface{}

func ListAllUsersInKeycloak

func ListAllUsersInKeycloak(t *testing.T, bearerToken string) []map[string]interface{}

func LoginInKeycloak

func LoginInKeycloak(t *testing.T, username, password string) map[string]interface{}

func LogoutUserInKeycloak

func LogoutUserInKeycloak(t *testing.T, bearerToken, username string)

func UpdateRolesToAcceptOAuth

func UpdateRolesToAcceptOAuth(t *testing.T, bearerToken string)

Types

This section is empty.

Directories

Path Synopsis
Entities created in this files are exclusive from keycloak e2e
Entities created in this files are exclusive from keycloak e2e

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL