Versions in this module Expand all Collapse all v1 v1.8.0 Aug 7, 2023 Changes in this version type UserClient + IdPortenLoginEnabled bool v1.7.0 May 11, 2023 v1.6.0 Apr 12, 2023 Changes in this version + type ClientProperty struct + Type string + Values []string type UserClient + ClientProperties []ClientProperty v1.5.0 Jan 12, 2023 Changes in this version + type ClientClaim struct + Type string + Values []string type MachineClient + ClientClaims []ClientClaim v1.4.6 Jun 8, 2022 v1.4.5 Jun 8, 2022 v1.4.4 Jun 8, 2022 v1.4.3 Oct 1, 2021 Changes in this version type MachineClient + IsDelegationClient bool v1.4.2 Sep 23, 2021 v1.4.1 Aug 20, 2021 v1.4.0 Jun 9, 2021 Changes in this version + func DeleteApiScope(elvidAuthority string, accessTokenAD string, apiScopeName string) diag.Diagnostics + type ApiScope struct + AllowMachineClients bool + AllowUserClients bool + Description string + Name string + UserClaims []string + func CreateOrUpdateApiScope(elvidAuthority string, accessTokenAD string, apiScopeInput *ApiScope) (*ApiScope, diag.Diagnostics) + func ReadApiScope(elvidAuthority string, accessTokenAD string, name string) (*ApiScope, diag.Diagnostics) v1.3.0 May 11, 2021 Changes in this version type UserClient + BankIDAuthSolutionLoginEnabled bool v1.2.1 Jan 7, 2021 v1.2.0 Jan 7, 2021 Changes in this version + func DeleteClientSecret(elvidAuthority string, accessTokenAD string, clientId string, ...) error + func DeleteMachineClient(elvidAuthority string, accessTokenAD string, id string) error + func DeleteRequest(url string, accessToken string) (*http.Response, error) + func DeleteUserClient(elvidAuthority string, accessTokenAD string, id string) error + func ElvidErrorResponse(response *http.Response, url string) error + func GetAccessTokenAD(tenantId string, clientId string, clientSecret string) (string, error) + func GetRequest(url string, accessToken string) (*http.Response, error) + func PatchRequest(url string, accessToken string, jsonValue []byte) (*http.Response, error) + func PostRequest(url string, accessToken string, jsonValue []byte) (*http.Response, error) + func UpdateUserClient(elvidAuthority string, accessTokenAD string, userClient *UserClient) error + type ADResponse struct + AccessToken string + type ClientSecret struct + HashedValueStartsWith string + Id int + Value string + func CreateClientSecret(elvidAuthority string, accessTokenAD string, clientId string) (*ClientSecret, error) + func ReadClientSecret(elvidAuthority string, accessTokenAD string, clientId string, ...) (*ClientSecret, error) + type MachineClient struct + AccessTokenLifeTime int + ClientId string + ClientName string + Id int + Scopes []string + TestUserLoginEnabled bool + func CreateMachineClient(elvidAuthority string, accessTokenAD string, machineClientInput *MachineClient) (*MachineClient, error) + func ReadMachineClient(elvidAuthority string, accessTokenAD string, id string) (*MachineClient, error) + func UpdateMachineClient(elvidAuthority string, accessTokenAD string, machineClient *MachineClient) (*MachineClient, error) + type UserClient struct + AccessTokenLifetime int + AllowUseOfRefreshTokens bool + AlwaysIncludeUserClaimsInIdToken bool + BankIDLoginEnabled bool + ClientId string + ClientName string + ClientNameLanguageKey string + Domains []string + ElviaADLoginEnabled bool + HafslundADLoginEnabled bool + Id int + LocalLoginEnabled bool + OneTimeUsageForRefreshTokens bool + PostLogoutRedirectUriPaths []string + RedirectUriPaths []string + RefreshTokensLifeTime int + RequireClientSecret bool + Scopes []string + TestUserLoginEnabled bool + func CreateUserClient(elvidAuthority string, accessTokenAD string, userClient *UserClient) (*UserClient, error) + func ReadUserClient(elvidAuthority string, accessTokenAD string, id string) (*UserClient, error)