SYMBOL INDEX (1748 symbols across 395 files) FILE: apps/boruta_admin/assets/src/models/backend.model.js class Backend (line 125) | class Backend { method constructor (line 126) | constructor(params = {}) { method isPersisted (line 135) | get isPersisted() { method save (line 139) | save() { method destroy (line 169) | destroy() { method serialized (line 180) | get serialized() { method resetPasswordAlgorithmOpts (line 277) | resetPasswordAlgorithmOpts() { method passwordHashingAlgorithms (line 281) | static get passwordHashingAlgorithms() { method passwordHashingOpts (line 289) | static get passwordHashingOpts() { method api (line 368) | static api() { method all (line 379) | static all() { method get (line 389) | static get(id) { class Claim (line 398) | class Claim { method constructor (line 399) | constructor (attrs = {}) { method build (line 424) | static build (claimType) { method assignType (line 428) | assignType (claimType) { method attributeTypes (line 432) | static get attributeTypes () { method objectTypes (line 436) | static get objectTypes () { method arrayTypes (line 440) | static get arrayTypes () { method isAttribute (line 444) | get isAttribute () { method isObject (line 448) | get isObject () { method isArray (line 452) | get isArray () { method baseClaim (line 456) | static baseClaim(claimType) { FILE: apps/boruta_admin/assets/src/models/business-log-stats.model.js class LogStats (line 21) | class LogStats { method constructor (line 22) | constructor (params = {}) { FILE: apps/boruta_admin/assets/src/models/client.model.js class Client (line 101) | class Client { method constructor (line 102) | constructor (params = {}) { method validate (line 112) | validate () { method save (line 130) | async save () { method regenerateDid (line 161) | async regenerateDid () { method regenerateKeyPair (line 182) | async regenerateKeyPair () { method destroy (line 204) | destroy () { method serialized (line 213) | get serialized () { FILE: apps/boruta_admin/assets/src/models/email-template.model.js class EmailTemplate (line 20) | class EmailTemplate { method constructor (line 21) | constructor (params = {}) { method save (line 30) | save () { method destroy (line 52) | destroy () { method serialized (line 72) | get serialized () { method api (line 81) | static api () { method get (line 92) | static get (backendId, type) { FILE: apps/boruta_admin/assets/src/models/error-template.model.js class ErrorTemplate (line 27) | class ErrorTemplate { method constructor (line 28) | constructor (params = {}) { method save (line 37) | save () { method destroy (line 59) | destroy () { method serialized (line 79) | get serialized () { method api (line 87) | static api () { method get (line 98) | static get (type) { method all (line 104) | static all () { FILE: apps/boruta_admin/assets/src/models/identity-provider.model.js class IdentityProvider (line 30) | class IdentityProvider { method constructor (line 31) | constructor (params = {}) { method isPersisted (line 40) | get isPersisted () { method save (line 44) | save () { method destroy (line 72) | destroy () { method serialized (line 81) | get serialized () { method api (line 115) | static api () { method all (line 126) | static all () { method get (line 132) | static get (id) { FILE: apps/boruta_admin/assets/src/models/key-pair.model.js class KeyPair (line 12) | class KeyPair { method constructor (line 13) | constructor (params = {}) { method persisted (line 22) | get persisted () { method rotate (line 26) | rotate () { method save (line 36) | save () { method destroy (line 56) | destroy () { method serialized (line 65) | get serialized () { FILE: apps/boruta_admin/assets/src/models/organization.model.js class Organization (line 17) | class Organization { method constructor (line 18) | constructor (params = {}) { method isPersisted (line 27) | get isPersisted() { method save (line 31) | async save () { method destroy (line 58) | destroy () { method serialized (line 62) | get serialized () { FILE: apps/boruta_admin/assets/src/models/request-log-stats.model.js class LogStats (line 20) | class LogStats { method constructor (line 21) | constructor (params = {}) { FILE: apps/boruta_admin/assets/src/models/role.model.js class Role (line 15) | class Role { method constructor (line 16) | constructor (params = {}) { method save (line 25) | save () { method destroy (line 53) | destroy () { method serialized (line 62) | get serialized () { FILE: apps/boruta_admin/assets/src/models/scope.model.js class Scope (line 17) | class Scope { method constructor (line 18) | constructor (params = {}) { method persisted (line 27) | get persisted () { method reset (line 31) | reset () { method save (line 38) | save () { method destroy (line 58) | destroy () { method serialized (line 67) | get serialized () { FILE: apps/boruta_admin/assets/src/models/template.model.js class Template (line 18) | class Template { method constructor (line 19) | constructor (params = {}) { method save (line 28) | save () { method destroy (line 50) | destroy () { method serialized (line 70) | get serialized () { method api (line 79) | static api () { method get (line 90) | static get (identityProviderId, type) { FILE: apps/boruta_admin/assets/src/models/upstream.model.js class Upstream (line 43) | class Upstream { method constructor (line 44) | constructor (params = {}) { method baseUrl (line 53) | get baseUrl () { method save (line 59) | save () { method destroy (line 87) | destroy () { method serialized (line 96) | get serialized () { FILE: apps/boruta_admin/assets/src/models/user.model.js class User (line 56) | class User { method constructor (line 57) | constructor (params = {}) { method isPersisted (line 66) | get isPersisted() { method validate (line 71) | validate () { method save (line 89) | async save () { method destroy (line 117) | destroy () { method serialized (line 121) | get serialized () { FILE: apps/boruta_admin/assets/src/models/utils.js function addClientErrorInterceptor (line 5) | function addClientErrorInterceptor(instance) { FILE: apps/boruta_admin/assets/src/services/configuration-file.service.js class ConfigurationFile (line 4) | class ConfigurationFile { method api (line 5) | static get api () { method upload (line 15) | static upload (file) { method get (line 30) | static get (type = '') { method baseConfiguration (line 37) | static get baseConfiguration () { FILE: apps/boruta_admin/assets/src/services/oauth.service.js class Oauth (line 4) | class Oauth { method constructor (line 5) | constructor () { method idToken (line 27) | get idToken() { method currentUser (line 31) | get currentUser() { method authenticate (line 40) | authenticate (response) { method login (line 60) | login () { method silentRefresh (line 64) | silentRefresh () { method callback (line 68) | async callback () { method logout (line 78) | logout () { method storeLocationName (line 85) | storeLocationName ({ name, params, query }) { method storedLocation (line 91) | get storedLocation () { method accessToken (line 98) | get accessToken () { method isAuthenticated (line 102) | get isAuthenticated () { method expiresIn (line 108) | get expiresIn () { FILE: apps/boruta_admin/assets/src/store.js method isAuthenticated (line 10) | isAuthenticated (state) { method SET_AUTHENTICATED (line 15) | SET_AUTHENTICATED (state, isAuthenticated) { method logout (line 20) | logout ({ commit }) { FILE: apps/boruta_admin/lib/boruta_admin.ex class BorutaAdmin (line 1) | defmodule BorutaAdmin FILE: apps/boruta_admin/lib/boruta_admin/application.ex class BorutaAdmin.Application (line 1) | defmodule BorutaAdmin.Application method start (line 8) | def start(_type, _args) do method setup_database (line 28) | def setup_database do method config_change (line 40) | def config_change(changed, _new, removed) do method boruta_admin_request_handler (line 45) | def boruta_admin_request_handler(_, %{duration: duration}, %{conn: con... method log_level (line 77) | defp log_level(nil, _conn), do: :info method connection_type (line 84) | defp connection_type(:set_chunked), do: "chunked" method connection_type (line 85) | defp connection_type(_), do: "sent" method duration (line 87) | defp duration(duration) do FILE: apps/boruta_admin/lib/boruta_admin/configuration_loader.ex class BorutaAdmin.ConfigurationLoader (line 1) | defmodule BorutaAdmin.ConfigurationLoader method node_name (line 14) | def node_name do method from_file! (line 40) | def from_file!(path) do method load_configuration (line 50) | def load_configuration(configuration) do method load_configuration (line 366) | def load_configuration(%{}, result), do: result FILE: apps/boruta_admin/lib/boruta_admin/configuration_loader/schema.ex class BorutaAdmin.ConfigurationLoader.Schema (line 1) | defmodule BorutaAdmin.ConfigurationLoader.Schema method gateway (line 6) | def gateway do method microgateway (line 52) | def microgateway do method organization (line 99) | def organization do method backend (line 112) | def backend do method identity_provider (line 269) | def identity_provider do method client (line 299) | def client do method scope (line 356) | def scope do method role (line 370) | def role do method error_template (line 391) | def error_template do FILE: apps/boruta_admin/lib/boruta_admin/configurations.ex class BorutaAdmin.Configurations (line 1) | defmodule BorutaAdmin.Configurations method upsert_configuration (line 9) | def upsert_configuration(name, value) do method list_configurations (line 18) | def list_configurations do method get_configuration (line 22) | def get_configuration(name) do FILE: apps/boruta_admin/lib/boruta_admin/configurations/configuration.ex class BorutaAdmin.Configurations.Configuration (line 1) | defmodule BorutaAdmin.Configurations.Configuration method changeset (line 25) | def changeset(upstream, attrs) do FILE: apps/boruta_admin/lib/boruta_admin/logs.ex class BorutaAdmin.Logs (line 18) | defmodule BorutaAdmin.Logs class BorutaAdmin.Logs.FileTooLargeError (line 1) | defmodule BorutaAdmin.Logs.FileTooLargeError method message (line 13) | def message(exception) do method read (line 36) | def read(start_at, end_at, application, :request = type, query) do method read (line 124) | def read(start_at, end_at, application, :business = type, query) do method read (line 202) | def read(_start_at, _end_at, _application, _type), do: %{} method log_stream (line 204) | defp log_stream(start_at, end_at, application, type) do method parse_request_log (line 238) | defp parse_request_log(log_line) do method normalize_request_label_path (line 279) | defp normalize_request_label_path(path), do: path method apply_request_filters (line 281) | def apply_request_filters(request_stream, query) do method apply_business_filters (line 300) | def apply_business_filters(request_stream, query) do method parse_business_log (line 319) | defp parse_business_log(log_line) do method log_dates (line 348) | defp log_dates(start_date, end_date) do method time_scale_unit (line 356) | defp time_scale_unit(start_at, end_at) do FILE: apps/boruta_admin/lib/boruta_admin/release.ex class BorutaAdmin.Release (line 1) | defmodule BorutaAdmin.Release method load_configuration (line 4) | def load_configuration do FILE: apps/boruta_admin/lib/boruta_admin/repo.ex class BorutaAdmin.Repo (line 1) | defmodule BorutaAdmin.Repo FILE: apps/boruta_admin/lib/boruta_admin_web.ex class BorutaAdminWeb (line 1) | defmodule BorutaAdminWeb method controller (line 20) | def controller do method view (line 30) | def view do method router (line 45) | def router do method channel (line 54) | def channel do method view_helpers (line 61) | defp view_helpers do FILE: apps/boruta_admin/lib/boruta_admin_web/controllers/backend_controller.ex class BorutaAdminWeb.BackendController (line 1) | defmodule BorutaAdminWeb.BackendController method index (line 17) | def index(conn, _params) do method create (line 22) | def create(conn, %{"backend" => backend_params}) do method create (line 32) | def create(_conn, _params), do: {:error, :bad_request} method show (line 34) | def show(conn, %{"id" => id}) do method update (line 39) | def update(conn, %{"id" => id, "backend" => backend_params}) do method update (line 48) | def update(_conn, _params), do: {:error, :bad_request} method delete (line 50) | def delete(conn, %{"id" => id}) do method email_template (line 59) | def email_template(conn, %{"backend_id" => id, "template_type" => temp... method update_email_template (line 64) | def update_email_template(conn, %{ method delete_email_template (line 77) | def delete_email_template(conn, %{"backend_id" => id, "template_type" ... FILE: apps/boruta_admin/lib/boruta_admin_web/controllers/boruta/client_controller.ex class BorutaAdminWeb.ClientController (line 1) | defmodule BorutaAdminWeb.ClientController method index (line 18) | def index(conn, _params) do method create (line 24) | def create(conn, %{"client" => client_params}) do method show (line 33) | def show(conn, %{"id" => client_id}) do method update (line 39) | def update(conn, %{"id" => client_id, "client" => client_params}) do method update_client (line 49) | defp update_client( method update_client (line 68) | defp update_client(client, client_params) do method regenerate_did (line 72) | def regenerate_did(conn, %{"id" => client_id}) do method regenerate_key_pair (line 80) | def regenerate_key_pair(conn, %{"id" => client_id}) do method delete (line 89) | def delete(conn, %{"id" => client_id}) do method get_client (line 102) | defp get_client(client_id) do method ensure_open_for_edition (line 107) | defp ensure_open_for_edition(client_id) do method delete_client_multi (line 117) | defp delete_client_multi(client_id) do FILE: apps/boruta_admin/lib/boruta_admin_web/controllers/boruta/scope_controller.ex class BorutaAdminWeb.ScopeController (line 1) | defmodule BorutaAdminWeb.ScopeController method index (line 25) | def index(conn, _params) do method create (line 30) | def create(conn, %{"scope" => scope_params}) do method show (line 39) | def show(conn, %{"id" => id}) do method update (line 44) | def update(conn, %{"id" => id, "scope" => scope_params}) do method delete (line 53) | def delete(conn, %{"id" => id}) do method ensure_open_for_edition (line 62) | def ensure_open_for_edition(scope) do method delete_scope_multi (line 69) | defp delete_scope_multi(scope) do FILE: apps/boruta_admin/lib/boruta_admin_web/controllers/configuration_controller.ex class BorutaAdminWeb.ConfigurationController (line 1) | defmodule BorutaAdminWeb.ConfigurationController method error_template (line 31) | def error_template(conn, %{"template_type" => template_type}) do method update_error_template (line 36) | def update_error_template(conn, %{ method delete_error_template (line 48) | def delete_error_template(conn, %{"template_type" => template_type}) do method example_configuration_file (line 53) | def example_configuration_file(conn, _params) do method configuration (line 87) | def configuration(conn, _params) do method upload_configuration_file (line 93) | def upload_configuration_file(conn, %{"file" => %Plug.Upload{path: pat... method filter_configuration (line 109) | defp filter_configuration(configuration, %{"scope" => scope}) do FILE: apps/boruta_admin/lib/boruta_admin_web/controllers/fallback_controller.ex class BorutaAdminWeb.FallbackController (line 1) | defmodule BorutaAdminWeb.FallbackController method call (line 9) | def call(conn, {:error, %Ecto.Changeset{} = changeset}) do method call (line 16) | def call(conn, {:error, :bad_request}) do method call (line 23) | def call(conn, {:error, :not_found}) do method call (line 30) | def call(conn, {:error, :unauthorized}) do method call (line 37) | def call(conn, {:error, :forbidden}) do method call (line 44) | def call(conn, {:error, :protected_resource}) do FILE: apps/boruta_admin/lib/boruta_admin_web/controllers/identity_provider_controller.ex class BorutaAdminWeb.IdentityProviderController (line 1) | defmodule BorutaAdminWeb.IdentityProviderController method index (line 17) | def index(conn, _params) do method create (line 22) | def create(conn, %{"identity_provider" => identity_provider_params}) do method show (line 32) | def show(conn, %{"id" => id}) do method update (line 37) | def update(conn, %{"id" => id, "identity_provider" => identity_provide... method delete (line 46) | def delete(conn, %{"id" => id}) do method template (line 55) | def template(conn, %{"identity_provider_id" => id, "template_type" => ... method update_template (line 60) | def update_template(conn, %{ method delete_template (line 73) | def delete_template(conn, %{"identity_provider_id" => id, "template_ty... method ensure_open_for_edition (line 78) | defp ensure_open_for_edition(identity_provider_id) do FILE: apps/boruta_admin/lib/boruta_admin_web/controllers/key_pair_controller.ex class BorutaAdminWeb.KeyPairController (line 1) | defmodule BorutaAdminWeb.KeyPairController method index (line 16) | def index(conn, _params) do method create (line 21) | def create(conn, %{"key_pair" => key_pair_params}) do method show (line 30) | def show(conn, %{"id" => id}) do method rotate (line 35) | def rotate(conn, %{"id" => id}) do method update (line 43) | def update(conn, %{"id" => id, "key_pair" => key_pair_params}) do method delete (line 51) | def delete(conn, %{"id" => id}) do FILE: apps/boruta_admin/lib/boruta_admin_web/controllers/logs_controller.ex class BorutaAdminWeb.LogsController (line 1) | defmodule BorutaAdminWeb.LogsController method index (line 15) | def index( FILE: apps/boruta_admin/lib/boruta_admin_web/controllers/organization_controller.ex class BorutaAdminWeb.OrganizationController (line 1) | defmodule BorutaAdminWeb.OrganizationController method index (line 16) | def index(conn, params) do method show (line 32) | def show(conn, %{"id" => id}) do method create (line 42) | def create(conn, %{"organization" => organization_params}) do method create (line 53) | def create(_conn, _params), do: {:error, :bad_request} method update (line 55) | def update(conn, %{"id" => id, "organization" => organization_params}) do method update (line 72) | def update(_conn, _params), do: {:error, :bad_request} method delete (line 74) | def delete(conn, %{"id" => organization}) do method ensure_open_for_edition (line 81) | defp ensure_open_for_edition(_user_id, _conn) do FILE: apps/boruta_admin/lib/boruta_admin_web/controllers/page_controller.ex class BorutaAdminWeb.PageController (line 1) | defmodule BorutaAdminWeb.PageController method index (line 4) | def index(conn, _params) do FILE: apps/boruta_admin/lib/boruta_admin_web/controllers/role_controller.ex class BorutaAdminWeb.RoleController (line 1) | defmodule BorutaAdminWeb.RoleController method index (line 16) | def index(conn, _params) do method create (line 21) | def create(conn, %{"role" => role_params}) do method show (line 30) | def show(conn, %{"id" => id}) do method update (line 35) | def update(conn, %{"id" => id, "role" => role_params}) do method delete (line 44) | def delete(conn, %{"id" => id}) do method ensure_open_for_edition (line 53) | def ensure_open_for_edition(_role) do FILE: apps/boruta_admin/lib/boruta_admin_web/controllers/upstream_controller.ex class BorutaAdminWeb.UpstreamController (line 1) | defmodule BorutaAdminWeb.UpstreamController method index (line 16) | def index(conn, _params) do method node_list (line 21) | def node_list(conn, _params) do method show (line 30) | def show(conn, %{"id" => id}) do method create (line 35) | def create(conn, %{"upstream" => upstream_params}) do method update (line 44) | def update(conn, %{"id" => id, "upstream" => upstream_params}) do method delete (line 52) | def delete(conn, %{"id" => id}) do FILE: apps/boruta_admin/lib/boruta_admin_web/controllers/user_controller.ex class BorutaAdminWeb.UserController (line 1) | defmodule BorutaAdminWeb.UserController method index (line 18) | def index(conn, params) do method show (line 34) | def show(conn, %{"id" => id}) do method create (line 44) | def create(conn, %{"backend_id" => backend_id, "user" => user_params}) do method create (line 70) | def create(conn, %{"backend_id" => backend_id, "file" => file_params} ... method create (line 106) | def create(_conn, _params), do: {:error, :bad_request} method update (line 108) | def update(conn, %{"id" => id, "user" => user_params}) do method update (line 129) | def update(_conn, _params), do: {:error, :bad_request} method delete (line 131) | def delete(conn, %{"id" => user_id}) do method ensure_open_for_edition (line 144) | defp ensure_open_for_edition(user_id, conn) do FILE: apps/boruta_admin/lib/boruta_admin_web/endpoint.ex class BorutaAdminWeb.Endpoint (line 1) | defmodule BorutaAdminWeb.Endpoint method log_level (line 38) | def log_level(%{path_info: ["healthcheck" | _]}), do: false method log_level (line 39) | def log_level(%{path_info: ["favicon.ico" | _]}), do: false method log_level (line 40) | def log_level(_), do: :info FILE: apps/boruta_admin/lib/boruta_admin_web/gettext.ex class BorutaAdminWeb.Gettext (line 1) | defmodule BorutaAdminWeb.Gettext FILE: apps/boruta_admin/lib/boruta_admin_web/plugs/authorization.ex class BorutaAdminWeb.Authorization (line 1) | defmodule BorutaAdminWeb.Authorization method require_authenticated (line 17) | def require_authenticated(conn, _opts \\ []) do method unauthorized (line 54) | def unauthorized(_conn, error) do method userinfo_fetched (line 59) | def userinfo_fetched(_conn, userinfo_response) do method authorize (line 68) | def authorize(conn, [_h | _t] = scopes) do method authorize (line 84) | def authorize(conn, _opts) do method userinfo (line 93) | def userinfo(access_token) do method respond_unauthorized (line 110) | defp respond_unauthorized(conn, e) do method maybe_validate_user (line 120) | defp maybe_validate_user(userinfo) do FILE: apps/boruta_admin/lib/boruta_admin_web/plugs/logger.ex class BorutaAdminWeb.Logger (line 1) | defmodule BorutaAdminWeb.Logger method init (line 9) | def init(opts) do method call (line 14) | def call(conn, level) do method duration (line 52) | defp duration(duration) do method connection_type (line 62) | defp connection_type(%{state: :set_chunked}), do: "Chunked" method connection_type (line 63) | defp connection_type(_), do: "Sent" FILE: apps/boruta_admin/lib/boruta_admin_web/router.ex class BorutaAdminWeb.Router (line 1) | defmodule BorutaAdminWeb.Router method handle_errors (line 104) | def handle_errors(conn, %{kind: _kind, reason: reason, stack: _stack}) do FILE: apps/boruta_admin/lib/boruta_admin_web/telemetry.ex class BorutaAdminWeb.Telemetry (line 1) | defmodule BorutaAdminWeb.Telemetry method start_link (line 7) | def start_link(arg) do method init (line 12) | def init(_arg) do method metrics (line 24) | def metrics do method periodic_measurements (line 50) | defp periodic_measurements do FILE: apps/boruta_admin/lib/boruta_admin_web/views/backend_view.ex class BorutaAdminWeb.BackendView (line 1) | defmodule BorutaAdminWeb.BackendView method render (line 8) | def render("index.json", %{backends: backends}) do method render (line 12) | def render("show.json", %{backend: backend}) do method render (line 16) | def render("show_email_template.json", %{email_template: template}) do method render (line 20) | def render("backend.json", %{backend: backend}) do method render (line 52) | def render("email_template.json", %{template: template}) do FILE: apps/boruta_admin/lib/boruta_admin_web/views/changeset_view.ex class BorutaAdminWeb.ChangesetView (line 1) | defmodule BorutaAdminWeb.ChangesetView method translate_errors (line 10) | def translate_errors(changeset) do method render (line 14) | def render("error.json", %{changeset: changeset}) do FILE: apps/boruta_admin/lib/boruta_admin_web/views/client_view.ex class BorutaAdminWeb.ClientView (line 1) | defmodule BorutaAdminWeb.ClientView method render (line 8) | def render("index.json", %{clients: clients}) do method render (line 12) | def render("show.json", %{client: client}) do method render (line 16) | def render("client.json", %{client: client}) do FILE: apps/boruta_admin/lib/boruta_admin_web/views/configuration_view.ex class BorutaAdminWeb.ConfigurationView (line 1) | defmodule BorutaAdminWeb.ConfigurationView method render (line 6) | def render("show_error_template.json", %{template: template}) do method render (line 10) | def render("error_template.json", %{template: template}) do method render (line 18) | def render("configuration.json", %{configurations: configurations}) do method render (line 24) | def render("file_upload.json", %{result: result, file_content: file_co... FILE: apps/boruta_admin/lib/boruta_admin_web/views/error_helpers.ex class BorutaAdminWeb.ErrorHelpers (line 1) | defmodule BorutaAdminWeb.ErrorHelpers method error_tag (line 11) | def error_tag(form, field) do method translate_error (line 23) | def translate_error({msg, opts}) do FILE: apps/boruta_admin/lib/boruta_admin_web/views/error_view.ex class BorutaAdminWeb.ErrorView (line 1) | defmodule BorutaAdminWeb.ErrorView method render (line 4) | def render("400.json", _assigns) do method render (line 14) | def render("404.json", _assigns) do method render (line 24) | def render("401.json", _assigns) do method render (line 34) | def render("403.json", _assigns) do method render (line 44) | def render("protected_resource.json", _assigns) do method template_not_found (line 54) | def template_not_found(template, _assigns) do FILE: apps/boruta_admin/lib/boruta_admin_web/views/identity_provider_view.ex class BorutaAdminWeb.IdentityProviderView (line 1) | defmodule BorutaAdminWeb.IdentityProviderView method render (line 6) | def render("index.json", %{identity_providers: identity_providers}) do method render (line 10) | def render("show.json", %{identity_provider: identity_provider}) do method render (line 14) | def render("show_template.json", %{template: template}) do method render (line 18) | def render("identity_provider.json", %{identity_provider: identity_pro... method render (line 37) | def render("template.json", %{template: template}) do FILE: apps/boruta_admin/lib/boruta_admin_web/views/key_pair_view.ex class BorutaAdminWeb.KeyPairView (line 1) | defmodule BorutaAdminWeb.KeyPairView method render (line 5) | def render("index.json", %{key_pairs: key_pairs}) do method render (line 9) | def render("show.json", %{key_pair: key_pair}) do method render (line 13) | def render("key_pair.json", %{key_pair: key_pair}) do FILE: apps/boruta_admin/lib/boruta_admin_web/views/logs_view.ex class BorutaAdminWeb.LogsView (line 1) | defmodule BorutaAdminWeb.LogsView method render (line 4) | def render("index.json", %{stats: stats}) do FILE: apps/boruta_admin/lib/boruta_admin_web/views/organization_view.ex class BorutaAdminWeb.OrganizationView (line 1) | defmodule BorutaAdminWeb.OrganizationView method render (line 6) | def render("index.json", %{ method render (line 22) | def render("show.json", %{organization: organization}) do method render (line 26) | def render("organization.json", %{organization: organization}) do FILE: apps/boruta_admin/lib/boruta_admin_web/views/page_view.ex class BorutaAdminWeb.PageView (line 1) | defmodule BorutaAdminWeb.PageView FILE: apps/boruta_admin/lib/boruta_admin_web/views/role_view.ex class BorutaAdminWeb.RoleView (line 1) | defmodule BorutaAdminWeb.RoleView method render (line 5) | def render("index.json", %{roles: roles}) do method render (line 9) | def render("show.json", %{role: role}) do method render (line 13) | def render("role.json", %{role: role}) do FILE: apps/boruta_admin/lib/boruta_admin_web/views/scope_view.ex class BorutaAdminWeb.ScopeView (line 1) | defmodule BorutaAdminWeb.ScopeView method render (line 5) | def render("index.json", %{scopes: scopes}) do method render (line 9) | def render("show.json", %{scope: scope}) do method render (line 13) | def render("scope.json", %{scope: scope}) do FILE: apps/boruta_admin/lib/boruta_admin_web/views/upstream_view.ex class BorutaAdminWeb.UpstreamView (line 1) | defmodule BorutaAdminWeb.UpstreamView method render (line 5) | def render("index.json", %{upstreams: upstreams}) do method render (line 15) | def render("node_list.json", %{nodes: nodes}) do method render (line 19) | def render("show.json", %{upstream: upstream}) do method render (line 23) | def render("upstream.json", %{upstream: upstream}) do FILE: apps/boruta_admin/lib/boruta_admin_web/views/user_view.ex class BorutaAdminWeb.UserView (line 1) | defmodule BorutaAdminWeb.UserView method render (line 11) | def render("index.json", %{ method render (line 27) | def render("show.json", %{user: user}) do method render (line 31) | def render("user.json", %{user: user}) do method render (line 55) | def render("import_result.json", %{import_result: import_result}) do FILE: apps/boruta_admin/mix.exs class BorutaAdmin.MixProject (line 1) | defmodule BorutaAdmin.MixProject method project (line 4) | def project do method application (line 24) | def application do method elixirc_paths (line 32) | defp elixirc_paths(:test), do: ["lib", "test/support"] method elixirc_paths (line 33) | defp elixirc_paths(_), do: ["lib"] method deps (line 38) | defp deps do method aliases (line 69) | defp aliases do FILE: apps/boruta_admin/priv/repo/migrations/20240508054424_create_configurations.exs class BorutaAdmin.Repo.Migrations.CreateConfigurations (line 1) | defmodule BorutaAdmin.Repo.Migrations.CreateConfigurations method change (line 4) | def change do FILE: apps/boruta_admin/test/boruta_admin/configuration_loader_test.exs class BorutaAdmin.ConfigurationLoaderTest (line 1) | defmodule BorutaAdmin.ConfigurationLoaderTest FILE: apps/boruta_admin/test/boruta_admin_web/controllers/backend_controller_test.exs class BorutaAdminWeb.BackendControllerTest (line 1) | defmodule BorutaAdminWeb.BackendControllerTest method fixture (line 430) | def fixture(:backend) do method create_backend (line 435) | defp create_backend(_) do FILE: apps/boruta_admin/test/boruta_admin_web/controllers/client_controller_test.exs class BorutaAdminWeb.ClientControllerTest (line 1) | defmodule BorutaAdminWeb.ClientControllerTest FILE: apps/boruta_admin/test/boruta_admin_web/controllers/configuration_controller_test.exs class BorutaAdminWeb.ConfigurationControllerTest (line 1) | defmodule BorutaAdminWeb.ConfigurationControllerTest FILE: apps/boruta_admin/test/boruta_admin_web/controllers/identity_provider_controller_test.exs class BorutaAdminWeb.IdentityProviderControllerTest (line 1) | defmodule BorutaAdminWeb.IdentityProviderControllerTest method fixture (line 20) | def fixture(:identity_provider) do method create_identity_provider (line 561) | defp create_identity_provider(_) do FILE: apps/boruta_admin/test/boruta_admin_web/controllers/key_pair_controller_test.exs class BorutaAdminWeb.KeyPairControllerTest (line 1) | defmodule BorutaAdminWeb.KeyPairControllerTest FILE: apps/boruta_admin/test/boruta_admin_web/controllers/logs_controller_test.exs class BorutaAdminWeb.LogsControllerTest (line 1) | defmodule BorutaAdminWeb.LogsControllerTest method request_log_line_serie (line 533) | defp request_log_line_serie(fun) do method business_log_line_serie (line 541) | defp business_log_line_serie(fun) do FILE: apps/boruta_admin/test/boruta_admin_web/controllers/organization_controller_test.exs class BorutaAdminWeb.OrganizationControllerTest (line 1) | defmodule BorutaAdminWeb.OrganizationControllerTest FILE: apps/boruta_admin/test/boruta_admin_web/controllers/page_controller_test.exs class BorutaAdminWeb.PageControllerTest (line 1) | defmodule BorutaAdminWeb.PageControllerTest FILE: apps/boruta_admin/test/boruta_admin_web/controllers/role_controller_test.exs class BorutaAdminWeb.RoleControllerTest (line 1) | defmodule BorutaAdminWeb.RoleControllerTest FILE: apps/boruta_admin/test/boruta_admin_web/controllers/scope_controller_test.exs class BorutaAdminWeb.ScopeControllerTest (line 1) | defmodule BorutaAdminWeb.ScopeControllerTest FILE: apps/boruta_admin/test/boruta_admin_web/controllers/upstream_controller_test.exs class BorutaAdminWeb.UpstreamControllerTest (line 1) | defmodule BorutaAdminWeb.UpstreamControllerTest method fixture (line 19) | def fixture(:upstream) do FILE: apps/boruta_admin/test/boruta_admin_web/controllers/user_controller_test.exs class BorutaAdminWeb.UserControllerTest (line 1) | defmodule BorutaAdminWeb.UserControllerTest FILE: apps/boruta_admin/test/boruta_admin_web/views/error_view_test.exs class BorutaAdminWeb.ErrorViewTest (line 1) | defmodule BorutaAdminWeb.ErrorViewTest FILE: apps/boruta_admin/test/boruta_admin_web/views/page_view_test.exs class BorutaAdminWeb.PageViewTest (line 1) | defmodule BorutaAdminWeb.PageViewTest FILE: apps/boruta_admin/test/support/boruta_factory.ex class Boruta.Factory (line 1) | defmodule Boruta.Factory method client_factory (line 8) | def client_factory do method scope_factory (line 21) | def scope_factory do method token_factory (line 28) | def token_factory do FILE: apps/boruta_admin/test/support/boruta_identity_factory.ex class BorutaIdentity.Factory (line 1) | defmodule BorutaIdentity.Factory method user_factory (line 22) | def user_factory do method internal_user_factory (line 30) | def internal_user_factory do method consent_factory (line 38) | def consent_factory do method client_identity_provider_factory (line 45) | def client_identity_provider_factory do method identity_provider_factory (line 52) | def identity_provider_factory do method backend_factory (line 59) | def backend_factory do method default_backend_factory (line 66) | def default_backend_factory do method template_factory (line 74) | def template_factory do method error_template_factory (line 82) | def error_template_factory do method email_template_factory (line 89) | def email_template_factory do method reset_password_instructions_email_template_factory (line 97) | def reset_password_instructions_email_template_factory do method role_factory (line 105) | def role_factory do method role_scope_factory (line 111) | def role_scope_factory do method organization_factory (line 115) | def organization_factory do FILE: apps/boruta_admin/test/support/conn_case.ex class BorutaAdminWeb.ConnCase (line 1) | defmodule BorutaAdminWeb.ConnCase method merge_tags_params (line 60) | def merge_tags_params(conn, tags) do method authorized_params (line 79) | def authorized_params(conn, scopes) do method user_authorized_params (line 92) | def user_authorized_params(conn, scopes) do FILE: apps/boruta_admin/test/support/data_case.ex class BorutaAdmin.DataCase (line 1) | defmodule BorutaAdmin.DataCase method errors_on (line 58) | def errors_on(changeset) do FILE: apps/boruta_auth/lib/boruta_auth.ex class BorutaAuth (line 1) | defmodule BorutaAuth method hello (line 15) | def hello do FILE: apps/boruta_auth/lib/boruta_auth/application.ex class BorutaAuth.Application (line 1) | defmodule BorutaAuth.Application method start (line 6) | def start(_type, _args) do method setup_database (line 18) | def setup_database do FILE: apps/boruta_auth/lib/boruta_auth/key_pairs.ex class BorutaAuth.KeyPairs (line 1) | defmodule BorutaAuth.KeyPairs method list_key_pairs (line 11) | def list_key_pairs do method get_key_pair! (line 15) | def get_key_pair!(id) do method list_jwks (line 19) | def list_jwks do method create_key_pair (line 24) | def create_key_pair(attrs \\ %{}) do method update_key_pair (line 29) | def update_key_pair(key_pair, attrs \\ %{}) do method delete_key_pair (line 34) | def delete_key_pair(%KeyPair{} = key_pair) do method rotate (line 40) | def rotate(%KeyPair{private_key: private_key} = key_pair) do method rsa_key (line 53) | defp rsa_key(%KeyPair{} = key_pair) do FILE: apps/boruta_auth/lib/boruta_auth/key_pairs/schemas/key_pair.ex class BorutaAuth.KeyPairs.KeyPair (line 1) | defmodule BorutaAuth.KeyPairs.KeyPair method default! (line 26) | def default! do method changeset (line 42) | def changeset(key_pair, attrs) do method delete_changeset (line 50) | def delete_changeset(key_pair) do method rotate_changeset (line 55) | def rotate_changeset(key_pair) do method set_default (line 67) | defp set_default(%Ecto.Changeset{changes: %{is_default: true}} = chang... method set_default (line 84) | defp set_default(changeset), do: changeset method generate_key_pair (line 86) | defp generate_key_pair(changeset) do method check_default (line 104) | defp check_default(changeset) do FILE: apps/boruta_auth/lib/boruta_auth/log_rotate.ex class BorutaAuth.LogRotate (line 1) | defmodule BorutaAuth.LogRotate method rotate (line 4) | def rotate do method path (line 26) | def path(application, type, date) do method log_dates (line 30) | defp log_dates(start_date, end_date) do FILE: apps/boruta_auth/lib/boruta_auth/repo.ex class BorutaAuth.Repo (line 1) | defmodule BorutaAuth.Repo FILE: apps/boruta_auth/lib/boruta_auth/scheduler.ex class BorutaAuth.Scheduler (line 1) | defmodule BorutaAuth.Scheduler FILE: apps/boruta_auth/mix.exs class BorutaAuth.MixProject (line 1) | defmodule BorutaAuth.MixProject method project (line 4) | def project do method application (line 18) | def application do method deps (line 25) | defp deps do FILE: apps/boruta_auth/priv/repo/migrations/20201129024828_create_boruta.exs class BorutaWeb.Repo.Migrations.CreateBoruta (line 1) | defmodule BorutaWeb.Repo.Migrations.CreateBoruta method change (line 4) | def change do FILE: apps/boruta_auth/priv/repo/migrations/20210114202055_usec_timestamps.exs class Boruta.Repo.Migrations.UsecTimestamps (line 1) | defmodule Boruta.Repo.Migrations.UsecTimestamps method change (line 4) | def change do FILE: apps/boruta_auth/priv/repo/migrations/20210202095024_add_key_pair_to_clients.exs class Boruta.Repo.Migrations.AddKeyPairToClients (line 1) | defmodule Boruta.Repo.Migrations.AddKeyPairToClients method change (line 4) | def change do FILE: apps/boruta_auth/priv/repo/migrations/20210301123331_add_label_to_scopes.exs class Boruta.Repo.Migrations.AddLabelToScopes (line 1) | defmodule Boruta.Repo.Migrations.AddLabelToScopes method change (line 4) | def change do FILE: apps/boruta_auth/priv/repo/migrations/20210514211510_add_default_redirect_uris_to_clients.exs class BorutaWeb.Repo.Migrations.AddDefaultRedirectUrisToClients (line 1) | defmodule BorutaWeb.Repo.Migrations.AddDefaultRedirectUrisToClients method change (line 9) | def change do FILE: apps/boruta_auth/priv/repo/migrations/20210919174149_openid_connect.exs class BorutaWeb.Repo.Migrations.OpenidConnect (line 1) | defmodule BorutaWeb.Repo.Migrations.OpenidConnect FILE: apps/boruta_auth/priv/repo/migrations/20210919174150_clients_refresh_tokens.exs class BorutaWeb.Repo.Migrations.ClientsRefreshTokens (line 1) | defmodule BorutaWeb.Repo.Migrations.ClientsRefreshTokens FILE: apps/boruta_auth/priv/repo/migrations/20211013161324_clients_public_revoke.exs class BorutaWeb.Repo.Migrations.ClientsPublicRevoke (line 1) | defmodule BorutaWeb.Repo.Migrations.ClientsPublicRevoke FILE: apps/boruta_auth/priv/repo/migrations/20220113221532_store_previous_token.exs class BorutaWeb.Repo.Migrations.StorePreviousToken (line 1) | defmodule BorutaWeb.Repo.Migrations.StorePreviousToken FILE: apps/boruta_auth/priv/repo/migrations/20220603211852_id_token_signature_alg_configuration.exs class BorutaAuth.Repo.Migrations.IdTokenSignatureAlgConfiguration (line 1) | defmodule BorutaAuth.Repo.Migrations.IdTokenSignatureAlgConfiguration FILE: apps/boruta_auth/priv/repo/migrations/20220625203958_confidential_clients.exs class BorutaAuth.Repo.Migrations.ConfidentialClients (line 1) | defmodule BorutaAuth.Repo.Migrations.ConfidentialClients FILE: apps/boruta_auth/priv/repo/migrations/20220824105115_refresh_token_rotation.exs class BorutaAuth.Repo.Migrations.RefreshTokenRotation (line 1) | defmodule BorutaAuth.Repo.Migrations.RefreshTokenRotation FILE: apps/boruta_auth/priv/repo/migrations/20221025084535_authorization_code_chains.exs class BorutaAuth.Repo.Migrations.AuthorizationCodeChains (line 1) | defmodule BorutaAuth.Repo.Migrations.AuthorizationCodeChains FILE: apps/boruta_auth/priv/repo/migrations/20221122131429_client_authentication_methods.exs class BorutaAuth.Repo.Migrations.ClientAuthenticationMethods (line 1) | defmodule BorutaAuth.Repo.Migrations.ClientAuthenticationMethods FILE: apps/boruta_auth/priv/repo/migrations/20221129120152_signed_userinfo_response.exs class BorutaAuth.Repo.Migrations.SignedUserinfoResponse (line 1) | defmodule BorutaAuth.Repo.Migrations.SignedUserinfoResponse FILE: apps/boruta_auth/priv/repo/migrations/20230506151359_optional_public_key_for_oauth_clients.exs class BorutaAuth.Repo.Migrations.OptionalPublicKeyForOauthClients (line 1) | defmodule BorutaAuth.Repo.Migrations.OptionalPublicKeyForOauthClients FILE: apps/boruta_auth/priv/repo/migrations/20230514134306_clients_jwks_uri.exs class BorutaAuth.Repo.Migrations.ClientsJwksUri (line 1) | defmodule BorutaAuth.Repo.Migrations.ClientsJwksUri FILE: apps/boruta_auth/priv/repo/migrations/20230515093131_create_key_pairs.exs class BorutaAuth.Repo.Migrations.CreateKeyPairs (line 1) | defmodule BorutaAuth.Repo.Migrations.CreateKeyPairs method change (line 4) | def change do FILE: apps/boruta_auth/priv/repo/migrations/20230515152140_client_id_token_kid.exs class BorutaAuth.Repo.Migrations.ClientIdTokenKid (line 1) | defmodule BorutaAuth.Repo.Migrations.ClientIdTokenKid FILE: apps/boruta_auth/priv/repo/migrations/20231217091349_add_metadata_to_clients.exs class BorutaAuth.Repo.Migrations.AddMetadataToClients (line 1) | defmodule BorutaAuth.Repo.Migrations.AddMetadataToClients FILE: apps/boruta_auth/priv/repo/migrations/20231217144905_oid4vci_implementation.exs class BorutaAuth.Repo.Migrations.Oid4vciImplementation (line 1) | defmodule BorutaAuth.Repo.Migrations.Oid4vciImplementation FILE: apps/boruta_auth/priv/repo/migrations/20240127081327_siopv2_implementation.exs class BorutaAuth.Repo.Migrations.Siopv2Implementation (line 1) | defmodule BorutaAuth.Repo.Migrations.Siopv2Implementation FILE: apps/boruta_auth/priv/repo/migrations/20240321101558_dpop_implementation.exs class BorutaAuth.Repo.Migrations.DpopImplementation (line 1) | defmodule BorutaAuth.Repo.Migrations.DpopImplementation FILE: apps/boruta_auth/priv/repo/migrations/20240417052138_par_implementation.exs class BorutaAuth.Repo.Migrations.ParImplementation (line 1) | defmodule BorutaAuth.Repo.Migrations.ParImplementation FILE: apps/boruta_auth/priv/repo/migrations/20240506083712_c_nonce_implementation.exs class BorutaAuth.Repo.Migrations.CNonceImplementation (line 1) | defmodule BorutaAuth.Repo.Migrations.CNonceImplementation FILE: apps/boruta_auth/priv/repo/migrations/20240812111902_defered_credentials.exs class BorutaAuth.Repo.Migrations.DeferedCredentials (line 1) | defmodule BorutaAuth.Repo.Migrations.DeferedCredentials FILE: apps/boruta_auth/priv/repo/migrations/20240824191208_clients_did.exs class BorutaAuth.Repo.Migrations.ClientsDid (line 1) | defmodule BorutaAuth.Repo.Migrations.ClientsDid FILE: apps/boruta_auth/priv/repo/migrations/20240908082918_verifiable_presentation_definitions.exs class BorutaAuth.Repo.Migrations.VerifiablePresentationDefinitions (line 1) | defmodule BorutaAuth.Repo.Migrations.VerifiablePresentationDefinitions FILE: apps/boruta_auth/priv/repo/migrations/20240914084657_clients_response_mode.exs class BorutaAuth.Repo.Migrations.ClientsResponseMode (line 1) | defmodule BorutaAuth.Repo.Migrations.ClientsResponseMode FILE: apps/boruta_auth/priv/repo/migrations/20241021132955_clients_key_pair_types.exs class BorutaAuth.Repo.Migrations.ClientsKeyPairTypes (line 1) | defmodule BorutaAuth.Repo.Migrations.ClientsKeyPairTypes FILE: apps/boruta_auth/priv/repo/migrations/20241209110846_tokens_tx_code.exs class BorutaAuth.Repo.Migrations.TokensTxCode (line 1) | defmodule BorutaAuth.Repo.Migrations.TokensTxCode FILE: apps/boruta_auth/priv/repo/migrations/20241220104923_clients_signatures_adapters.exs class BorutaAuth.Repo.Migrations.ClientsSignaturesAdapters (line 1) | defmodule BorutaAuth.Repo.Migrations.ClientsSignaturesAdapters FILE: apps/boruta_auth/priv/repo/migrations/20250315084213_fix_oauth_clients_did.exs class BorutaAuth.Repo.Migrations.FixOauthClientsDid (line 1) | defmodule BorutaAuth.Repo.Migrations.FixOauthClientsDid FILE: apps/boruta_auth/priv/repo/migrations/20250413070457_agent_credentials.exs class BorutaAuth.Repo.Migrations.AgentCredentials (line 1) | defmodule BorutaAuth.Repo.Migrations.AgentCredentials FILE: apps/boruta_auth/priv/repo/migrations/20250524160749_public_client_id.exs class BorutaAuth.Repo.Migrations.PublicClientId (line 1) | defmodule BorutaAuth.Repo.Migrations.PublicClientId FILE: apps/boruta_auth/priv/repo/migrations/20260324152715_codes_response_type.exs class BorutaAuth.Repo.Migrations.CodesResponseType (line 1) | defmodule BorutaAuth.Repo.Migrations.CodesResponseType FILE: apps/boruta_auth/priv/repo/migrations/20260324152716_code_metadata_policy.exs class BorutaAuth.Repo.Migrations.CodeMetadataPolicy (line 1) | defmodule BorutaAuth.Repo.Migrations.CodeMetadataPolicy FILE: apps/boruta_auth/priv/repo/migrations/20260330112657_siopv2_encryption.exs class BorutaAuth.Repo.Migrations.Siopv2Encryption (line 1) | defmodule BorutaAuth.Repo.Migrations.Siopv2Encryption FILE: apps/boruta_auth/priv/repo/migrations/20260428121802_requested_scope.exs class BorutaAuth.Repo.Migrations.RequestedScope (line 1) | defmodule BorutaAuth.Repo.Migrations.RequestedScope FILE: apps/boruta_auth/test/boruta_auth/key_pairs_test.exs class BorutaAuth.KeyPairsTest (line 1) | defmodule BorutaAuth.KeyPairsTest FILE: apps/boruta_gateway/lib/boruta_gateway.ex class BorutaGateway (line 1) | defmodule BorutaGateway FILE: apps/boruta_gateway/lib/boruta_gateway/application.ex class BorutaGateway.Application (line 1) | defmodule BorutaGateway.Application method start (line 12) | def start(_type, _args) do method setup_database (line 72) | def setup_database do FILE: apps/boruta_gateway/lib/boruta_gateway/configuration_loader.ex class BorutaGateway.ConfigurationLoader (line 1) | defmodule BorutaGateway.ConfigurationLoader method node_name (line 8) | def node_name do method from_file! (line 33) | def from_file!(path) do method load_configuration! (line 39) | defp load_configuration!(%{"gateway" => gateway_configurations} = conf... method load_configuration! (line 56) | defp load_configuration!(%{"microgateway" => microgateway_configuratio... method load_configuration! (line 83) | defp load_configuration!(%{}), do: :ok FILE: apps/boruta_gateway/lib/boruta_gateway/configuration_schemas/gateway.ex class BorutaGateway.ConfigurationSchemas.GatewaySchema (line 1) | defmodule BorutaGateway.ConfigurationSchemas.GatewaySchema method gateway (line 6) | def gateway do method microgateway (line 51) | def microgateway do FILE: apps/boruta_gateway/lib/boruta_gateway/gateway_pipeline.ex class BorutaGateway.GatewayPipeline (line 1) | defmodule BorutaGateway.GatewayPipeline FILE: apps/boruta_gateway/lib/boruta_gateway/logger.ex class BorutaGateway.Logger (line 1) | defmodule BorutaGateway.Logger method start (line 6) | def start do method boruta_gateway_server_handler (line 25) | def boruta_gateway_server_handler(_, %{duration: duration}, %{conn: co... method boruta_gateway_request_handler (line 56) | def boruta_gateway_request_handler( method business_status (line 98) | defp business_status(conn) do method put_access_token (line 105) | defp put_access_token(log_line, conn) do method put_upstream_attributes (line 118) | defp put_upstream_attributes(log_line, conn, request_time) do method put_upstream_error (line 140) | defp put_upstream_error(log_line, conn) do method log_attribute (line 150) | defp log_attribute(_key, nil), do: "" method log_attribute (line 151) | defp log_attribute(key, attribute), do: " #{key}=#{attribute}" method log_level (line 154) | defp log_level(nil, _conn), do: :info method connection_type (line 161) | defp connection_type(:set_chunked), do: "chunked" method connection_type (line 162) | defp connection_type(_), do: "sent" method duration (line 164) | defp duration(nil), do: ["0", "µs"] method duration (line 166) | defp duration(duration) do FILE: apps/boruta_gateway/lib/boruta_gateway/microgateway_pipeline.ex class BorutaGateway.MicrogatewayPipeline (line 1) | defmodule BorutaGateway.MicrogatewayPipeline FILE: apps/boruta_gateway/lib/boruta_gateway/plugs/assign_sidecar_upstream.ex class BorutaGateway.Plug.AssignSidecarUpstream (line 1) | defmodule BorutaGateway.Plug.AssignSidecarUpstream method init (line 12) | def init(options), do: options method call (line 14) | def call( FILE: apps/boruta_gateway/lib/boruta_gateway/plugs/assign_upstream.ex class BorutaGateway.Plug.AssignUpstream (line 1) | defmodule BorutaGateway.Plug.AssignUpstream method init (line 11) | def init(options), do: options method call (line 13) | def call( FILE: apps/boruta_gateway/lib/boruta_gateway/plugs/authorize.ex class BorutaGateway.Plug.Authorize (line 1) | defmodule BorutaGateway.Plug.Authorize method init (line 21) | def init(options), do: options method call (line 23) | def call( method call (line 55) | def call( method validate_scopes (line 68) | defp validate_scopes(scope, required_scopes, method) do FILE: apps/boruta_gateway/lib/boruta_gateway/plugs/handler.ex class BorutaGateway.Plug.Handler (line 1) | defmodule BorutaGateway.Plug.Handler method init (line 10) | def init(options), do: options method call (line 12) | def call( FILE: apps/boruta_gateway/lib/boruta_gateway/plugs/metrics.ex class BorutaGateway.Plug.Metrics (line 1) | defmodule BorutaGateway.Plug.Metrics method init (line 8) | def init(_options), do: [] method call (line 10) | def call( FILE: apps/boruta_gateway/lib/boruta_gateway/release.ex class BorutaGateway.Release (line 1) | defmodule BorutaGateway.Release method migrate (line 5) | def migrate do method load_configuration (line 13) | def load_configuration do method rollback (line 21) | def rollback(repo, version) do method setup (line 27) | def setup do method repos (line 31) | defp repos do FILE: apps/boruta_gateway/lib/boruta_gateway/repo.ex class BorutaGateway.Repo (line 1) | defmodule BorutaGateway.Repo method listen (line 7) | def listen(event_name) do FILE: apps/boruta_gateway/lib/boruta_gateway/router.ex class BorutaGateway.Router (line 1) | defmodule BorutaGateway.Router FILE: apps/boruta_gateway/lib/boruta_gateway/server.ex class BorutaGateway.Server (line 1) | defmodule BorutaGateway.Server method start_link (line 6) | def start_link(args) do method init (line 11) | def init(args) do FILE: apps/boruta_gateway/lib/boruta_gateway/sidecar_router.ex class BorutaGateway.SidecarRouter (line 1) | defmodule BorutaGateway.SidecarRouter FILE: apps/boruta_gateway/lib/boruta_gateway/upstreams.ex class BorutaGateway.Upstreams (line 1) | defmodule BorutaGateway.Upstreams method match (line 12) | def match(path) do method sidecar_match (line 16) | def sidecar_match(path) do method list_upstreams (line 29) | def list_upstreams do method get_upstream! (line 49) | def get_upstream!(id), do: Repo.get!(Upstream, id) method create_upstream (line 63) | def create_upstream(attrs \\ %{}) do method update_upstream (line 81) | def update_upstream(%Upstream{} = upstream, attrs) do method delete_upstream (line 99) | def delete_upstream(%Upstream{} = upstream) do method change_upstream (line 112) | def change_upstream(%Upstream{} = upstream) do FILE: apps/boruta_gateway/lib/boruta_gateway/upstreams/client.ex class BorutaGateway.Upstreams.Client (line 1) | defmodule BorutaGateway.Upstreams.Client method child_spec (line 21) | def child_spec(upstream) do method start_link (line 38) | def start_link(upstream) do method init (line 43) | def init(upstream) do method upstream (line 58) | def upstream(client) do method http_client (line 62) | def http_client(client) do method request (line 66) | def request(%Upstream{http_client: http_client} = upstream, conn) do method handle_call (line 79) | def handle_call({:get, :upstream}, _from, %{upstream: upstream} = stat... method handle_call (line 83) | def handle_call({:get, :http_client}, _from, %{http_client: http_clien... method transform_method (line 87) | defp transform_method(%Plug.Conn{method: method}) do method transform_headers (line 91) | defp transform_headers( method signer (line 129) | def signer( method signature_type (line 148) | defp signature_type(%Upstream{forwarded_token_signature_alg: signature... method transform_body (line 156) | defp transform_body(conn) do method transform_url (line 163) | defp transform_url( class Token (line 13) | defmodule Token method token_config (line 18) | def token_config, do: %{} FILE: apps/boruta_gateway/lib/boruta_gateway/upstreams/client/supervisor.ex class BorutaGateway.Upstreams.ClientSupervisor (line 1) | defmodule BorutaGateway.Upstreams.ClientSupervisor method start_link (line 9) | def start_link(_init_arg) do method init (line 14) | def init([]) do method start_child (line 21) | def start_child(upstream) do method client_for_upstream (line 26) | def client_for_upstream(upstream) do method kill (line 38) | def kill(nil), do: {:error, :not_started} method kill (line 39) | def kill(client) do FILE: apps/boruta_gateway/lib/boruta_gateway/upstreams/store.ex class BorutaGateway.Upstreams.Store (line 1) | defmodule BorutaGateway.Upstreams.Store method start_link (line 13) | def start_link do method init (line 18) | def init(_args) do method terminate (line 25) | def terminate(reason, state) do method hydrate (line 37) | def hydrate do method subscribe (line 41) | def subscribe do method match (line 46) | def match(path_info) do method sidecar_match (line 51) | def sidecar_match(path_info) do method all (line 55) | def all do method handle_call (line 60) | def handle_call(:all, _from, %{upstreams: upstreams} = state) do method handle_call (line 64) | def handle_call({:match, path_info}, _from, %{upstreams: upstreams} = ... method handle_call (line 78) | def handle_call({:sidecar_match, path_info}, _from, %{upstreams: upstr... method handle_cast (line 95) | def handle_cast(:hydrate, state) do method handle_cast (line 111) | def handle_cast(:subscribe, state) do method handle_info (line 119) | def handle_info( method update_upstreams (line 132) | defp update_upstreams(upstreams, %{"operation" => "INSERT", "record" =... method update_upstreams (line 146) | defp update_upstreams(upstreams, %{"operation" => "UPDATE", "record" =... method update_upstreams (line 167) | defp update_upstreams(upstreams, %{"operation" => "DELETE", "record" =... method structure (line 182) | defp structure(upstreams) do FILE: apps/boruta_gateway/lib/boruta_gateway/upstreams/upstream.ex class BorutaGateway.Upstreams.Upstream (line 1) | defmodule BorutaGateway.Upstreams.Upstream method with_http_client (line 72) | def with_http_client(%__MODULE__{http_client: nil} = upstream) do method changeset (line 100) | def changeset(upstream, attrs) do method validate_uris (line 131) | defp validate_uris( method validate_uris (line 142) | defp validate_uris(changeset), do: changeset method validate_required_scopes_format (line 144) | defp validate_required_scopes_format( method validate_required_scopes_format (line 160) | defp validate_required_scopes_format(changeset), do: changeset method maybe_put_forwarded_token_secret (line 162) | defp maybe_put_forwarded_token_secret(%Ecto.Changeset{data: data, chan... method maybe_generate_key_pair (line 189) | defp maybe_generate_key_pair(changeset) do FILE: apps/boruta_gateway/lib/mix/tasks/server.ex class Mix.Tasks.BorutaGateway.Server (line 1) | defmodule Mix.Tasks.BorutaGateway.Server method run (line 6) | def run(_args) do FILE: apps/boruta_gateway/mix.exs class BorutaGateway.MixProject (line 1) | defmodule BorutaGateway.MixProject method project (line 4) | def project do method application (line 23) | def application do method elixirc_paths (line 31) | defp elixirc_paths(:test), do: ["lib", "test/support"] method elixirc_paths (line 32) | defp elixirc_paths(_), do: ["lib"] method deps (line 37) | defp deps do method aliases (line 58) | defp aliases do FILE: apps/boruta_gateway/priv/repo/migrations/20200219201345_create_upstreams.exs class Boruta.Repo.Migrations.CreateUpstreams (line 1) | defmodule Boruta.Repo.Migrations.CreateUpstreams method change (line 4) | def change do FILE: apps/boruta_gateway/priv/repo/migrations/20200326185929_upstreams_notify.exs class Boruta.Repo.Migrations.UpstreamsNotify (line 1) | defmodule Boruta.Repo.Migrations.UpstreamsNotify method change (line 4) | def change do FILE: apps/boruta_gateway/priv/repo/migrations/20210111144958_change_upstreams_required_scopes_type.exs class BorutaGateway.Repo.Migrations.ChangeUpstreamsRequiredScopesType (line 1) | defmodule BorutaGateway.Repo.Migrations.ChangeUpstreamsRequiredScopesType method change (line 4) | def change do FILE: apps/boruta_gateway/priv/repo/migrations/20220319220305_add_pool_size_to_upstreams.exs class BorutaGateway.Repo.Migrations.AddPoolSizeToUpstreams (line 1) | defmodule BorutaGateway.Repo.Migrations.AddPoolSizeToUpstreams method change (line 4) | def change do FILE: apps/boruta_gateway/priv/repo/migrations/20220728122802_add_max_idle_time_to_upstreams.exs class BorutaGateway.Repo.Migrations.AddMaxIdleTimeToUpstreams (line 1) | defmodule BorutaGateway.Repo.Migrations.AddMaxIdleTimeToUpstreams method change (line 4) | def change do FILE: apps/boruta_gateway/priv/repo/migrations/20220729040405_add_pool_count_to_upstreams.exs class BorutaGateway.Repo.Migrations.AddPoolCountToUpstreams (line 1) | defmodule BorutaGateway.Repo.Migrations.AddPoolCountToUpstreams method change (line 4) | def change do FILE: apps/boruta_gateway/priv/repo/migrations/20220810082956_add_forbidden_response_to_upstreams.exs class BorutaGateway.Repo.Migrations.AddForbiddenResponseToUpstreams (line 1) | defmodule BorutaGateway.Repo.Migrations.AddForbiddenResponseToUpstreams method change (line 4) | def change do FILE: apps/boruta_gateway/priv/repo/migrations/20220810084238_add_error_content_type_to_upstreams.exs class BorutaGateway.Repo.Migrations.AddErrorContentTypeToUpstreams (line 1) | defmodule BorutaGateway.Repo.Migrations.AddErrorContentTypeToUpstreams method change (line 4) | def change do FILE: apps/boruta_gateway/priv/repo/migrations/20220810084450_add_unauthorized_response_to_upstreams.exs class BorutaGateway.Repo.Migrations.AddUnauthorizedResponseToUpstreams (line 1) | defmodule BorutaGateway.Repo.Migrations.AddUnauthorizedResponseToUpstreams method change (line 4) | def change do FILE: apps/boruta_gateway/priv/repo/migrations/20221024100810_add_forwarded_token_signature_algorithm_to_upstreams.exs class BorutaGateway.Repo.Migrations.AddForwardedTokenSignatureAlgorithmToUpstreams (line 1) | defmodule BorutaGateway.Repo.Migrations.AddForwardedTokenSignatureAlgori... method change (line 4) | def change do FILE: apps/boruta_gateway/priv/repo/migrations/20221024122642_add_forwarded_token_secret_to_upstreams.exs class BorutaGateway.Repo.Migrations.AddForwardedTokenSecretToUpstreams (line 1) | defmodule BorutaGateway.Repo.Migrations.AddForwardedTokenSecretToUpstreams method change (line 4) | def change do FILE: apps/boruta_gateway/priv/repo/migrations/20221024132312_add_forwarded_token_key_pair_to_upstreams.exs class BorutaGateway.Repo.Migrations.AddForwardedTokenKeyPairToUpstreams (line 1) | defmodule BorutaGateway.Repo.Migrations.AddForwardedTokenKeyPairToUpstreams method change (line 4) | def change do FILE: apps/boruta_gateway/priv/repo/migrations/20230413190522_upstreams_unique_indices.exs class BorutaGateway.Repo.Migrations.UpstreamsUniqueIndices (line 1) | defmodule BorutaGateway.Repo.Migrations.UpstreamsUniqueIndices method change (line 4) | def change do FILE: apps/boruta_gateway/priv/repo/migrations/20230421135202_add_node_name_to_upstreams.exs class BorutaGateway.Repo.Migrations.AddNodeNameToUpstreams (line 1) | defmodule BorutaGateway.Repo.Migrations.AddNodeNameToUpstreams method change (line 4) | def change do FILE: apps/boruta_gateway/priv/repo/migrations/20230422083455_update_upstreams_unique_constraint.exs class BorutaGateway.Repo.Migrations.UpdateUpstreamsUniqueConstraint (line 1) | defmodule BorutaGateway.Repo.Migrations.UpdateUpstreamsUniqueConstraint method change (line 4) | def change do FILE: apps/boruta_gateway/test/boruta_gateway/configuration_loader_test.exs class BorutaGateway.ConfigurationLoaderTest (line 1) | defmodule BorutaGateway.ConfigurationLoaderTest FILE: apps/boruta_gateway/test/boruta_gateway/integration/requests_test.exs class BorutaGateway.RequestsIntegrationTest (line 1) | defmodule BorutaGateway.RequestsIntegrationTest FILE: apps/boruta_gateway/test/boruta_gateway/upstreams/client_test.exs class BorutaGateway.Upstreams.ClientTest (line 1) | defmodule BorutaGateway.Upstreams.ClientTest FILE: apps/boruta_gateway/test/boruta_gateway/upstreams/store_test.exs class BorutaGateway.Upstreams.StoreTest (line 1) | defmodule BorutaGateway.Upstreams.StoreTest FILE: apps/boruta_gateway/test/boruta_gateway/upstreams_test.exs class BorutaGateway.UpstreamsTest (line 1) | defmodule BorutaGateway.UpstreamsTest FILE: apps/boruta_gateway/test/support/data_case.ex class BorutaGateway.DataCase (line 1) | defmodule BorutaGateway.DataCase method errors_on (line 52) | def errors_on(changeset) do FILE: apps/boruta_identity/assets/wallet/src/registerServiceWorker.ts method ready (line 6) | ready () { method registered (line 12) | registered () { method cached (line 15) | cached () { method updatefound (line 18) | updatefound () { method updated (line 21) | updated () { method offline (line 24) | offline () { method error (line 27) | error (error) { FILE: apps/boruta_identity/assets/wallet/src/store/index.ts method credentials (line 13) | credentials ({ credentials }) { method refreshCredentials (line 18) | async refreshCredentials(state) { method deleteCredential (line 21) | deleteCredential(state, credential) { FILE: apps/boruta_identity/lib/boruta_identity.ex class BorutaIdentity (line 1) | defmodule BorutaIdentity FILE: apps/boruta_identity/lib/boruta_identity/accounts.ex class BorutaIdentity.Accounts (line 83) | defmodule BorutaIdentity.Accounts class BorutaIdentity.Accounts.Utils (line 1) | defmodule BorutaIdentity.Accounts.Utils method client_identity_provider (line 9) | def client_identity_provider(nil), do: {:error, "Client identifier n... method client_identity_provider (line 11) | def client_identity_provider(client_id) do class BorutaIdentity.Accounts.IdentityProviderError (line 66) | defmodule BorutaIdentity.Accounts.IdentityProviderError method message (line 78) | def message(exception) do FILE: apps/boruta_identity/lib/boruta_identity/accounts/backends/federated.ex class BorutaIdentity.Accounts.Federated (line 1) | defmodule BorutaIdentity.Accounts.Federated method features (line 14) | def features, do: @features method account_type (line 18) | def account_type, do: @account_type method domain_user! (line 21) | def domain_user!(federated_server_name, access_token, backend) do method delete_user (line 78) | def delete_user(_uid), do: :ok method get_resource! (line 80) | defp get_resource!(url, access_token) do method claims_from_response (line 97) | defp claims_from_response(endpoint, body) do FILE: apps/boruta_identity/lib/boruta_identity/accounts/backends/internal.ex class BorutaIdentity.Accounts.Internal (line 1) | defmodule BorutaIdentity.Accounts.Internal method features (line 32) | def features, do: @features method account_type (line 36) | def account_type, do: @account_type method register (line 39) | def register(backend, registration_params) do method get_user (line 66) | def get_user(_authentication_params), do: {:error, "Cannot find an use... method domain_user! (line 69) | def domain_user!( method check_user_against (line 104) | def check_user_against(backend, user, authentication_params) do method check_user_password (line 108) | defp check_user_password(backend, user, password) do method reset_password (line 116) | def reset_password(backend, reset_password_params) do method update_user (line 128) | def update_user(backend, user, params) do method delete_user (line 142) | def delete_user(uid) do method create_user (line 150) | def create_user(backend, params) do method create_raw_user (line 174) | def create_raw_user(backend, params) do method get_user_by_reset_password_token (line 190) | defp get_user_by_reset_password_token(token) do method reset_user_password_multi (line 200) | defp reset_user_password_multi(backend, user, reset_password_params) do FILE: apps/boruta_identity/lib/boruta_identity/accounts/backends/internal/user.ex class BorutaIdentity.Accounts.Internal.User (line 1) | defmodule BorutaIdentity.Accounts.Internal.User method registration_changeset (line 51) | def registration_changeset(user, attrs, %{backend: backend} = opts) do method raw_registration_changeset (line 60) | def raw_registration_changeset(user, attrs, %{backend: backend}) do method validate_email (line 68) | defp validate_email(changeset) do method validate_password (line 75) | defp validate_password(changeset, opts) do method maybe_hash_password (line 84) | defp maybe_hash_password(changeset, %{backend: backend} = opts) do method update_changeset (line 103) | def update_changeset(user, attrs, opts) do method password_changeset (line 123) | def password_changeset(user, attrs, opts) do method valid_password? (line 141) | def valid_password?(backend, _, _) do method validate_current_password (line 155) | def validate_current_password(backend, changeset, password) do FILE: apps/boruta_identity/lib/boruta_identity/accounts/backends/ldap.ex class BorutaIdentity.Accounts.LdapError (line 1) | defmodule BorutaIdentity.Accounts.LdapError method message (line 13) | def message(exception) do class BorutaIdentity.Accounts.Ldap (line 18) | defmodule BorutaIdentity.Accounts.Ldap method account_type (line 48) | def account_type, do: "ldap" method features (line 52) | def features, do: @features method get_user (line 55) | def get_user(backend, %{email: email}) do method domain_user! (line 69) | def domain_user!( method check_user_against (line 99) | def check_user_against(backend, ldap_user, authentication_params) do method update_user (line 119) | def update_user(backend, user, params) do method delete_user (line 141) | def delete_user(_id) do method reset_password (line 146) | def reset_password(backend, reset_password_params) do method create_user (line 170) | def create_user(_backend, _params) do method create_raw_user (line 175) | def create_raw_user(_backend, _params) do method pool_name (line 180) | def pool_name(backend) do method start_link (line 199) | def start_link(backend) do method init_worker (line 208) | def init_worker(%{backend: backend}) do method handle_checkout (line 216) | def handle_checkout(:checkout, _from, ldap, pool_state) do method handle_checkin (line 221) | def handle_checkin(ldap, _from, ldap, pool_state) do method terminate_worker (line 226) | def terminate_worker(_reason, ldap, pool_state) do method fetch_user_from_ldap (line 235) | defp fetch_user_from_ldap(ldap, backend, email) do method update_user_in_ldap (line 267) | defp update_user_in_ldap( method update_user_in_ldap (line 303) | defp update_user_in_ldap(_ldap, _backend, user, _params), do: {:ok, user} method get_user_by_reset_password_token (line 305) | defp get_user_by_reset_password_token(ldap, backend, token) do method reset_password_in_ldap (line 332) | defp reset_password_in_ldap(_ldap, _backend, _user, _reset_password_pa... method check_password_confirmation (line 343) | defp check_password_confirmation(_reset_password_params), method lazy_start (line 346) | defp lazy_start(backend) do FILE: apps/boruta_identity/lib/boruta_identity/accounts/backends/ldap/user.ex class BorutaIdentity.Accounts.Ldap.User (line 1) | defmodule BorutaIdentity.Accounts.Ldap.User FILE: apps/boruta_identity/lib/boruta_identity/accounts/choose_sessions.ex class BorutaIdentity.Accounts.ChooseSessionApplication (line 1) | defmodule BorutaIdentity.Accounts.ChooseSessionApplication class BorutaIdentity.Accounts.ChooseSessions (line 14) | defmodule BorutaIdentity.Accounts.ChooseSessions method new_choose_session_template (line 32) | defp new_choose_session_template(identity_provider) do FILE: apps/boruta_identity/lib/boruta_identity/accounts/confirmations.ex class BorutaIdentity.Accounts.ConfirmationError (line 1) | defmodule BorutaIdentity.Accounts.ConfirmationError method message (line 13) | def message(exception) do class BorutaIdentity.Accounts.ConfirmationApplication (line 18) | defmodule BorutaIdentity.Accounts.ConfirmationApplication class BorutaIdentity.Accounts.Confirmations (line 41) | defmodule BorutaIdentity.Accounts.Confirmations method confirm_user (line 104) | def confirm_user(context, _client_id, token, module) do method new_confirmation_instructions_template (line 116) | defp new_confirmation_instructions_template(identity_provider) do method confirm_user (line 123) | defp confirm_user(token) do method confirm_user_multi (line 134) | defp confirm_user_multi(user) do FILE: apps/boruta_identity/lib/boruta_identity/accounts/consents.ex class BorutaIdentity.Accounts.ConsentApplication (line 1) | defmodule BorutaIdentity.Accounts.ConsentApplication class BorutaIdentity.Accounts.Consents (line 20) | defmodule BorutaIdentity.Accounts.Consents method consented? (line 88) | def consented?(%User{}, _client_id, []), do: true method consented? (line 90) | def consented?(%User{id: user_id}, client_id, scopes) do method consented? (line 97) | def consented?(_, _, _), do: false method new_consent_template (line 99) | defp new_consent_template(identity_provider) do FILE: apps/boruta_identity/lib/boruta_identity/accounts/deliveries.ex class BorutaIdentity.Accounts.Deliveries (line 1) | defmodule BorutaIdentity.Accounts.Deliveries method deliver_user_reset_password_instructions (line 44) | def deliver_user_reset_password_instructions(backend, %User{} = user, ... method deliver_tx_code (line 60) | def deliver_tx_code(backend, %User{} = user, tx_code) do FILE: apps/boruta_identity/lib/boruta_identity/accounts/deliveries/email_template.ex class BorutaIdentity.Accounts.EmailTemplate (line 1) | defmodule BorutaIdentity.Accounts.EmailTemplate method template_types (line 68) | def template_types, do: @template_types method default_template (line 86) | def default_template(_type), do: nil method changeset (line 89) | def changeset(template, attrs) do method assoc_changeset (line 100) | def assoc_changeset(template, attrs) do method put_default_txt (line 109) | defp put_default_txt(changeset) do method put_default_html (line 122) | defp put_default_html(changeset) do FILE: apps/boruta_identity/lib/boruta_identity/accounts/deliveries/user_notifier.ex class BorutaIdentity.Accounts.UserNotifier (line 1) | defmodule BorutaIdentity.Accounts.UserNotifier method smtp_adapter (line 11) | def smtp_adapter do method deliver (line 18) | def deliver(email, backend) do method deliver_confirmation_instructions (line 57) | def deliver_confirmation_instructions(backend, user, url) do method deliver_reset_password_instructions (line 84) | def deliver_reset_password_instructions(backend, user, url) do method deliver_tx_code (line 108) | def deliver_tx_code(backend, user, tx_code) do FILE: apps/boruta_identity/lib/boruta_identity/accounts/registrations.ex class BorutaIdentity.Accounts.RegistrationError (line 1) | defmodule BorutaIdentity.Accounts.RegistrationError method message (line 16) | def message(exception) do class BorutaIdentity.Accounts.RegistrationApplication (line 21) | defmodule BorutaIdentity.Accounts.RegistrationApplication class BorutaIdentity.Accounts.Registrations (line 44) | defmodule BorutaIdentity.Accounts.Registrations method create_user (line 138) | defp create_user(client_idp, registration_params) do method maybe_deliver_confirmation_email (line 144) | defp maybe_deliver_confirmation_email(_backend, _user, _confirmation_u... method maybe_deliver_confirmation_email (line 150) | defp maybe_deliver_confirmation_email(backend, user, confirmation_url_... method maybe_create_session (line 163) | defp maybe_create_session(user, %IdentityProvider{confirmable: true}) do method maybe_create_session (line 167) | defp maybe_create_session(user, %IdentityProvider{confirmable: false}) do method new_registration_template (line 171) | defp new_registration_template(identity_provider) do method new_confirmation_instructions_template (line 175) | defp new_confirmation_instructions_template(identity_provider) do FILE: apps/boruta_identity/lib/boruta_identity/accounts/reset_passwords.ex class BorutaIdentity.Accounts.ResetPasswordError (line 1) | defmodule BorutaIdentity.Accounts.ResetPasswordError method message (line 16) | def message(exception) do class BorutaIdentity.Accounts.ResetPasswordApplication (line 21) | defmodule BorutaIdentity.Accounts.ResetPasswordApplication class BorutaIdentity.Accounts.ResetPasswords (line 51) | defmodule BorutaIdentity.Accounts.ResetPasswords method send_reset_password_instructions (line 191) | defp send_reset_password_instructions(backend, user, reset_password_ur... method reset_password_changeset (line 205) | defp reset_password_changeset(_backend, token) do method get_user_by_reset_password_token (line 212) | defp get_user_by_reset_password_token(token) do method new_reset_password_template (line 221) | defp new_reset_password_template(identity_provider) do method edit_reset_password_template (line 225) | defp edit_reset_password_template(identity_provider) do FILE: apps/boruta_identity/lib/boruta_identity/accounts/schemas/consent.ex class BorutaIdentity.Accounts.Consent (line 1) | defmodule BorutaIdentity.Accounts.Consent method changeset (line 30) | def changeset(consent, attrs) do FILE: apps/boruta_identity/lib/boruta_identity/accounts/schemas/role.ex class BorutaIdentity.Accounts.Role (line 1) | defmodule BorutaIdentity.Accounts.Role method changeset (line 21) | def changeset(role, attrs) do FILE: apps/boruta_identity/lib/boruta_identity/accounts/schemas/role_scope.ex class BorutaIdentity.Accounts.RoleScope (line 1) | defmodule BorutaIdentity.Accounts.RoleScope method changeset (line 17) | def changeset(role_scope, attrs) do FILE: apps/boruta_identity/lib/boruta_identity/accounts/schemas/user.ex class BorutaIdentity.Accounts.User (line 1) | defmodule BorutaIdentity.Accounts.User method account_types (line 57) | def account_types, do: [ method implementation_changeset (line 94) | def implementation_changeset(attrs, backend) do method changeset (line 112) | def changeset(user, attrs \\ %{}) do method login_changeset (line 119) | def login_changeset(user) do method confirm_changeset (line 125) | def confirm_changeset(user) do method unconfirm_changeset (line 130) | def unconfirm_changeset(user) do method webauthn_challenge_changeset (line 134) | def webauthn_challenge_changeset(user) do method webauthn_public_key_changeset (line 138) | def webauthn_public_key_changeset(user, cose_key, identifier) do method totp_changeset (line 146) | def totp_changeset(user, totp_secret) do method consent_changeset (line 150) | def consent_changeset(user, attrs) do method confirmed? (line 157) | def confirmed?(%__MODULE__{confirmed_at: nil}), do: false method confirmed? (line 158) | def confirmed?(%__MODULE__{confirmed_at: _confirmed_at}), do: true method metadata_filter (line 161) | def metadata_filter(metadata, %Backend{ method user_metadata_filter (line 175) | def user_metadata_filter( method metadata_template_filter (line 223) | defp metadata_template_filter(changeset, _backend), do: changeset method validate_group (line 225) | defp validate_group(changeset) do method validate_metadata (line 247) | defp validate_metadata( method validate_metadata (line 263) | defp validate_metadata(changeset), do: changeset class CoseKey (line 4) | defmodule CoseKey method type (line 9) | def type, do: :binary method cast (line 10) | def cast(bin), do: {:ok, Base.decode64!(bin) |> :erlang.binary_to_term()} method load (line 11) | def load(bin), do: {:ok, Base.decode64!(bin) |> :erlang.binary_to_term()} method dump (line 12) | def dump(bin), do: {:ok, :erlang.term_to_binary(bin) |> Base.encode64()} method equal? (line 13) | def equal?(a, b), do: a == b method embed_as (line 14) | def embed_as(_a), do: :self FILE: apps/boruta_identity/lib/boruta_identity/accounts/schemas/user_authorized_scope.ex class BorutaIdentity.Accounts.UserAuthorizedScope (line 1) | defmodule BorutaIdentity.Accounts.UserAuthorizedScope method changeset (line 26) | def changeset(scope, attrs) do FILE: apps/boruta_identity/lib/boruta_identity/accounts/schemas/user_role.ex class BorutaIdentity.Accounts.UserRole (line 1) | defmodule BorutaIdentity.Accounts.UserRole method changeset (line 26) | def changeset(user_role, attrs) do FILE: apps/boruta_identity/lib/boruta_identity/accounts/schemas/user_token.ex class BorutaIdentity.Accounts.UserToken (line 1) | defmodule BorutaIdentity.Accounts.UserToken method build_session_token (line 36) | def build_session_token(user) do method verify_session_token_query (line 48) | def verify_session_token_query(token) do method build_email_token (line 69) | def build_email_token(user, context) do method build_hashed_token (line 73) | defp build_hashed_token(user, context, sent_to) do method verify_email_token_query (line 91) | def verify_email_token_query(token, context) do method revoke_email_token_query (line 113) | def revoke_email_token_query(token, context) do method days_for_context (line 124) | defp days_for_context("confirm"), do: @confirm_validity_in_days method days_for_context (line 125) | defp days_for_context("reset_password"), do: @reset_password_validity_... method verify_confirm_email_token_query (line 132) | def verify_confirm_email_token_query(token, context) do method token_and_context_query (line 151) | def token_and_context_query(token, context) do method user_and_contexts_query (line 158) | def user_and_contexts_query(user, :all) do method user_and_contexts_query (line 162) | def user_and_contexts_query(user, [_ | _] = contexts) do FILE: apps/boruta_identity/lib/boruta_identity/accounts/sessions.ex class BorutaIdentity.Accounts.SessionError (line 1) | defmodule BorutaIdentity.Accounts.SessionError method message (line 15) | def message(exception) do class BorutaIdentity.Accounts.SessionApplication (line 20) | defmodule BorutaIdentity.Accounts.SessionApplication class BorutaIdentity.Accounts.Sessions (line 46) | defmodule BorutaIdentity.Accounts.Sessions method get_user (line 126) | def get_user(%{email: email}, %IdentityProvider{check_password: false}... method get_user (line 136) | def get_user(authentication_params, %IdentityProvider{check_password: ... method maybe_check_password (line 142) | def maybe_check_password(user, _authentication_params, %IdentityProvid... method maybe_check_password (line 144) | def maybe_check_password(user, authentication_params, %IdentityProvide... method delete_session (line 163) | def delete_session(context, _client_id, session_token, module) do method create_user_session (line 176) | def create_user_session(%User{} = user) do method ensure_user_confirmed (line 184) | defp ensure_user_confirmed(_user, %IdentityProvider{confirmable: false... method ensure_user_confirmed (line 186) | defp ensure_user_confirmed(user, %IdentityProvider{confirmable: true}) do method new_session_template (line 193) | defp new_session_template(identity_provider) do method new_confirmation_instructions_template (line 197) | defp new_confirmation_instructions_template(identity_provider) do method delete_session (line 204) | def delete_session(nil), do: {:error, "Session not found."} method delete_session (line 206) | def delete_session(session_token) do FILE: apps/boruta_identity/lib/boruta_identity/accounts/settings.ex class BorutaIdentity.Accounts.SettingsError (line 1) | defmodule BorutaIdentity.Accounts.SettingsError method message (line 15) | def message(exception) do class BorutaIdentity.Accounts.SettingsApplication (line 20) | defmodule BorutaIdentity.Accounts.SettingsApplication class BorutaIdentity.Accounts.Settings (line 50) | defmodule BorutaIdentity.Accounts.Settings method maybe_unconfirm_user (line 193) | defp maybe_unconfirm_user(old_user, user, %IdentityProvider{confirmabl... method maybe_unconfirm_user (line 200) | defp maybe_unconfirm_user(_old_user, user, %IdentityProvider{confirmab... method maybe_deliver_email_confirmation_instructions (line 204) | defp maybe_deliver_email_confirmation_instructions( method maybe_deliver_email_confirmation_instructions (line 214) | defp maybe_deliver_email_confirmation_instructions( method email_changed? (line 237) | defp email_changed?(%{email: email}, %User{username: email}), do: false method email_changed? (line 238) | defp email_changed?(%{email: _email}, %User{username: nil}), do: false method email_changed? (line 239) | defp email_changed?(_user, _user_update_params), do: true method edit_user_template (line 241) | defp edit_user_template(identity_provider) do FILE: apps/boruta_identity/lib/boruta_identity/accounts/users.ex class BorutaIdentity.Accounts.Users (line 1) | defmodule BorutaIdentity.Accounts.Users method get_user (line 49) | def get_user(_), do: nil method get_user_by_session_token (line 55) | def get_user_by_session_token(token) do method get_user_scopes (line 61) | def get_user_scopes(user_id) do method get_user_roles (line 76) | def get_user_roles(user_id) do method get_user_organizations (line 115) | def get_user_organizations(user_id) do method put_user_webauthn_challenge (line 128) | def put_user_webauthn_challenge(user) do FILE: apps/boruta_identity/lib/boruta_identity/accounts/verifiable_credentials.ex class BorutaIdentity.Accounts.VerifiableCredentials (line 1) | defmodule BorutaIdentity.Accounts.VerifiableCredentials method credentials (line 26) | def credentials do method credentials_supported (line 33) | def credentials_supported do method credential_configurations_supported (line 53) | def credential_configurations_supported do method authorization_details (line 119) | def authorization_details(%User{backend: %Backend{} = backend}, scope) do method authorization_details (line 148) | def authorization_details(_user, scope), do: default_authorization_det... method default_authorization_details (line 150) | def default_authorization_details(scope) do method public_credential_configuration (line 179) | def public_credential_configuration do method credential_configuration (line 201) | def credential_configuration(%User{backend: %Backend{} = backend}) do method credential_configuration (line 223) | def credential_configuration(_user), do: public_credential_configurati... FILE: apps/boruta_identity/lib/boruta_identity/accounts/verifiable_presentations.ex class BorutaIdentity.Accounts.VerifiablePresentations (line 1) | defmodule BorutaIdentity.Accounts.VerifiablePresentations method presentation_configuration (line 7) | def presentation_configuration(%User{backend: %Backend{} = backend}) do method presentation_configuration (line 17) | def presentation_configuration(_user) do method public_presentation_configuration (line 21) | def public_presentation_configuration do FILE: apps/boruta_identity/lib/boruta_identity/admin.ex class BorutaIdentity.Admin (line 1) | defmodule BorutaIdentity.Admin method list_users (line 50) | def list_users(params \\ %{}) do method search_users (line 58) | def search_users(query, params \\ %{}) do method get_user (line 80) | def get_user(id) do method create_user (line 98) | def create_user(backend, params) do method create_raw_user (line 115) | def create_raw_user(backend, params) do method import_users (line 132) | def import_users(backend, csv_path, opts \\ %{}) do method update_user_authorized_scopes (line 231) | def update_user_authorized_scopes(%User{id: user_id} = user, scopes) do method update_user_roles (line 257) | def update_user_roles(%User{id: user_id} = user, roles) do method update_user_organizations (line 283) | def update_user_organizations(%User{id: user_id} = user, organizations... method update_user (line 309) | def update_user(user, user_params) do method delete_user_authorized_scopes_by_id (line 348) | def delete_user_authorized_scopes_by_id(scope_id) do method user_preloads (line 356) | defp user_preloads(%User{} = user) do method user_preloads (line 360) | defp user_preloads(queryable) do method list_roles (line 379) | def list_roles do method get_role! (line 409) | def get_role!(id) do method create_role (line 427) | def create_role(attrs \\ %{}) do method update_role (line 436) | def update_role(%Role{} = role, attrs) do method delete_role (line 445) | def delete_role(%Role{} = role) do method change_role (line 449) | def change_role(%Role{} = role, attrs \\ %{}) do FILE: apps/boruta_identity/lib/boruta_identity/application.ex class BorutaIdentity.Application (line 1) | defmodule BorutaIdentity.Application method start (line 8) | def start(_type, _args) do method config_change (line 26) | def config_change(changed, _new, removed) do method setup_database (line 31) | def setup_database do FILE: apps/boruta_identity/lib/boruta_identity/clients.ex class BorutaIdentity.Clients (line 1) | defmodule BorutaIdentity.Clients method create_client (line 10) | def create_client(client_params) do method insert_global_key_pair (line 29) | def insert_global_key_pair(%Client{} = client, nil), do: {:ok, client} method insert_global_key_pair (line 30) | def insert_global_key_pair(%Client{} = client, key_pair_id) do FILE: apps/boruta_identity/lib/boruta_identity/configuration.ex class BorutaIdentity.Configuration (line 1) | defmodule BorutaIdentity.Configuration method get_error_template! (line 9) | def get_error_template!(type) do method upsert_error_template (line 16) | def upsert_error_template(%ErrorTemplate{id: template_id} = template, ... method delete_error_template! (line 25) | def delete_error_template!(type) do FILE: apps/boruta_identity/lib/boruta_identity/configuration/error_template.ex class BorutaIdentity.Configuration.ErrorTemplate (line 1) | defmodule BorutaIdentity.Configuration.ErrorTemplate method template_types (line 59) | def template_types, do: @template_types method default_template (line 73) | def default_template(_type), do: nil method changeset (line 76) | def changeset(template, attrs) do method put_default (line 84) | defp put_default(changeset) do FILE: apps/boruta_identity/lib/boruta_identity/federated_accounts.ex class BorutaIdentity.Accounts.FederatedSessionApplication (line 1) | defmodule BorutaIdentity.Accounts.FederatedSessionApplication class BorutaIdentity.FederatedAccounts (line 20) | defmodule BorutaIdentity.FederatedAccounts method new_session_template (line 91) | defp new_session_template(identity_provider) do FILE: apps/boruta_identity/lib/boruta_identity/hooks/post_user_creation_hook.ex class BorutaIdentity.PostUserCreationHook (line 1) | defmodule BorutaIdentity.PostUserCreationHook method post_user_creation_hook (line 11) | def post_user_creation_hook(_options, body, _context) do method maybe_create_organization (line 22) | def maybe_create_organization( method maybe_create_organization (line 38) | def maybe_create_organization(user), do: {:ok, user} FILE: apps/boruta_identity/lib/boruta_identity/identity_providers.ex class BorutaIdentity.IdentityProviders (line 1) | defmodule BorutaIdentity.IdentityProviders method list_identity_providers (line 16) | def list_identity_providers do method get_identity_provider! (line 25) | def get_identity_provider!(id) do method create_identity_provider (line 41) | def create_identity_provider(attrs \\ %{}) do method update_identity_provider (line 50) | def update_identity_provider(%IdentityProvider{} = identity_provider, ... method delete_identity_provider (line 58) | def delete_identity_provider(%IdentityProvider{} = identity_provider) do method change_identity_provider (line 66) | def change_identity_provider(%IdentityProvider{} = identity_provider, ... method upsert_client_identity_provider (line 70) | def upsert_client_identity_provider(client_id, identity_provider_id) do method clear_identity_provider_by_client_id_cache (line 84) | defp clear_identity_provider_by_client_id_cache do method remove_client_identity_provider (line 98) | def remove_client_identity_provider(client_id) do method get_identity_provider_by_client_id (line 118) | def get_identity_provider_by_client_id(client_id) do method get_identity_provider_template! (line 142) | def get_identity_provider_template!(identity_provider_id, type) do method upsert_template (line 160) | def upsert_template(%Template{id: template_id} = template, attrs) do method delete_identity_provider_template! (line 175) | def delete_identity_provider_template!(identity_provider_id, type) do method list_backends (line 203) | def list_backends do method get_backend! (line 208) | def get_backend!(id) do method create_backend (line 232) | def create_backend(attrs \\ %{}) do method update_backend (line 241) | def update_backend(%Backend{} = backend, attrs) do method update_backend_roles (line 263) | def update_backend_roles(%Backend{id: backend_id} = backend, roles) do method get_backend_roles (line 293) | def get_backend_roles(backend_id) do method delete_backend (line 320) | def delete_backend(%Backend{} = backend) do method change_backend (line 348) | def change_backend(%Backend{} = backend, attrs \\ %{}) do method get_backend_email_template! (line 352) | def get_backend_email_template!(backend_id, type) do method upsert_email_template (line 368) | def upsert_email_template(%EmailTemplate{id: template_id} = template, ... method delete_email_template! (line 390) | def delete_email_template!(backend_id, type) do FILE: apps/boruta_identity/lib/boruta_identity/identity_providers/backend.ex class BorutaIdentity.IdentityProviders.Backend (line 1) | defmodule BorutaIdentity.IdentityProviders.Backend method account_implementations (line 78) | def account_implementations do method backend_types (line 252) | def backend_types, do: @backend_types method default! (line 301) | def default! do method implementation (line 307) | def implementation(%__MODULE__{type: type}, account_type \\ nil) do method features (line 317) | def features(backend) do method password_hashing_module (line 322) | def password_hashing_module(%__MODULE__{password_hashing_alg: password... method password_hashing_opts (line 327) | def password_hashing_opts(%__MODULE__{password_hashing_opts: password_... method federated_login_url (line 358) | def federated_login_url(%__MODULE__{} = backend, federated_server_name... method federated_oauth_client (line 376) | def federated_oauth_client( method federated_server_scope (line 428) | def federated_server_scope( method discover_federated_server_urls (line 443) | defp discover_federated_server_urls( method federated_redirect_url (line 495) | def federated_redirect_url(%__MODULE__{id: backend_id}, federated_serv... method changeset (line 517) | def changeset(backend, attrs) do method delete_changeset (line 560) | def delete_changeset(%__MODULE__{id: backend_id} = backend) do method validate_metadata_fields (line 579) | defp validate_metadata_fields( method validate_metadata_fields (line 593) | defp validate_metadata_fields(changeset), do: changeset method validate_federated_servers (line 595) | defp validate_federated_servers( method validate_federated_servers (line 611) | defp validate_federated_servers(changeset), do: changeset method validate_verifiable_credentials (line 613) | defp validate_verifiable_credentials( method validate_verifiable_credentials (line 629) | defp validate_verifiable_credentials(changeset), do: changeset method validate_verifiable_presentations (line 631) | defp validate_verifiable_presentations( method validate_verifiable_presentations (line 652) | defp validate_verifiable_presentations(changeset), do: changeset method set_default (line 654) | defp set_default(%Ecto.Changeset{changes: %{is_default: false}} = chan... method set_default (line 662) | defp set_default(%Ecto.Changeset{changes: %{is_default: _is_default}} ... method set_default (line 681) | defp set_default(changeset), do: changeset method validate_backend_by_type (line 683) | defp validate_backend_by_type(changeset) do method validate_backend (line 689) | defp validate_backend(changeset, Internal) do method validate_backend (line 695) | defp validate_backend(changeset, Ldap) do method validate_backend (line 706) | defp validate_backend(changeset, _implementation), do: changeset method validate_password_hashing_opts (line 708) | defp validate_password_hashing_opts(changeset) do class AuthCodeStrategy (line 4) | defmodule AuthCodeStrategy method authorize_url (line 10) | def authorize_url(client, params) do method get_token (line 19) | def get_token(client, params, headers) do FILE: apps/boruta_identity/lib/boruta_identity/identity_providers/backend_role.ex class BorutaIdentity.IdentityProviders.BackendRole (line 1) | defmodule BorutaIdentity.IdentityProviders.BackendRole method changeset (line 26) | def changeset(role_scope, attrs) do FILE: apps/boruta_identity/lib/boruta_identity/identity_providers/client_identity_provider.ex class BorutaIdentity.IdentityProviders.ClientIdentityProvider (line 1) | defmodule BorutaIdentity.IdentityProviders.ClientIdentityProvider method changeset (line 28) | def changeset(client_identity_provider, attrs) do FILE: apps/boruta_identity/lib/boruta_identity/identity_providers/identity_provider.ex class BorutaIdentity.IdentityProviders.IdentityProvider (line 1) | defmodule BorutaIdentity.IdentityProviders.IdentityProvider method implementation (line 154) | def implementation(%__MODULE__{backend: backend}) do method check_feature (line 160) | def check_feature(identity_provider, requested_action_name) do method changeset (line 178) | def changeset(identity_provider, attrs) do method delete_changeset (line 204) | def delete_changeset(identity_provider) do FILE: apps/boruta_identity/lib/boruta_identity/identity_providers/template.ex class BorutaIdentity.IdentityProviders.Template (line 1) | defmodule BorutaIdentity.IdentityProviders.Template method template_types (line 130) | def template_types, do: @template_types method default_template (line 144) | def default_template(_type), do: nil method changeset (line 147) | def changeset(template, attrs) do method assoc_changeset (line 157) | def assoc_changeset(template, attrs) do method put_default (line 165) | defp put_default(changeset) do FILE: apps/boruta_identity/lib/boruta_identity/ldap_repo.ex class BorutaIdentity.LdapRepo (line 1) | defmodule BorutaIdentity.LdapRepo method open (line 40) | def open(host, opts \\ []), do: impl().open(host, opts) method close (line 42) | def close(handle), do: impl().close(handle) method simple_bind (line 44) | def simple_bind(handle, dn, password), do: impl().simple_bind(handle, ... method search (line 46) | def search(handle, backend, username), do: impl().search(handle, backe... method modify (line 48) | def modify(handle, backend, user, username), do: impl().modify(handle,... method modify_password (line 50) | def modify_password(handle, user, new_password, old_password), method modify_password (line 53) | def modify_password(handle, user, new_password), method impl (line 56) | defp impl do class BorutaIdentity.LdapAdapter (line 67) | defmodule BorutaIdentity.LdapAdapter method open (line 75) | def open(host, opts \\ []) do method close (line 80) | def close(handle) do method simple_bind (line 85) | def simple_bind(handle, dn, password) do method search (line 92) | def search(handle, backend, username) do method modify (line 126) | def modify(handle, backend, %Ldap.User{dn: dn}, username) do FILE: apps/boruta_identity/lib/boruta_identity/logger.ex class BorutaIdentity.Logger (line 1) | defmodule BorutaIdentity.Logger method start (line 8) | def start do method boruta_identity_request_handler (line 77) | def boruta_identity_request_handler(_, %{duration: duration}, %{conn: ... method authentication_log_in_success_handler (line 112) | def authentication_log_in_success_handler( method authentication_log_in_failure_handler (line 139) | def authentication_log_in_failure_handler( method authentication_log_out_success_handler (line 164) | def authentication_log_out_success_handler( method registration_create_success_handler (line 191) | def registration_create_success_handler( method registration_create_failure_handler (line 218) | def registration_create_failure_handler( method registration_confirm_success_handler (line 245) | def registration_confirm_success_handler( method registration_confirm_failure_handler (line 272) | def registration_confirm_failure_handler( method registration_update_success_handler (line 298) | def registration_update_success_handler( method registration_update_failure_handler (line 354) | def registration_update_failure_handler( method authorization_consent_success_handler (line 389) | def authorization_consent_success_handler( method authorization_consent_failure_handler (line 417) | def authorization_consent_failure_handler( method log_attribute (line 446) | defp log_attribute(_key, nil), do: "" method log_attribute (line 447) | defp log_attribute(key, attribute), do: " #{key}=#{attribute}" method log_level (line 450) | defp log_level(nil, _conn), do: :info method connection_type (line 457) | defp connection_type(:set_chunked), do: "chunked" method connection_type (line 458) | defp connection_type(_), do: "sent" method duration (line 460) | defp duration(duration) do FILE: apps/boruta_identity/lib/boruta_identity/organizations.ex class BorutaIdentity.Organizations (line 1) | defmodule BorutaIdentity.Organizations method list_organizations (line 16) | def list_organizations(params \\ %{}) do method create_organization (line 33) | def create_organization(organization_params) do method delete_organization (line 40) | def delete_organization(organization_id) do method get_organization (line 51) | def get_organization(organization_id) do method update_organization (line 65) | def update_organization(organization, organization_params) do FILE: apps/boruta_identity/lib/boruta_identity/organizations/organization.ex class BorutaIdentity.Organizations.Organization (line 1) | defmodule BorutaIdentity.Organizations.Organization method changeset (line 25) | def changeset(organization, attrs) do FILE: apps/boruta_identity/lib/boruta_identity/organizations/organization_user.ex class BorutaIdentity.Organizations.OrganizationUser (line 1) | defmodule BorutaIdentity.Organizations.OrganizationUser method changeset (line 27) | def changeset(organization_user, attrs) do FILE: apps/boruta_identity/lib/boruta_identity/repo.ex class BorutaIdentity.Repo (line 1) | defmodule BorutaIdentity.Repo method set_limit (line 8) | def set_limit(conn) do FILE: apps/boruta_identity/lib/boruta_identity/resource_owners.ex class BorutaIdentity.ResourceOwners (line 1) | defmodule BorutaIdentity.ResourceOwners method get_by (line 19) | def get_by(username: username) do method get_by (line 40) | def get_by(sub: "unknown", scope: _scope), do: %User{} method get_by (line 41) | def get_by(sub: "did:" <> _key, scope: _scope), do: %User{} method get_by (line 67) | def get_by(_), do: {:error, "Invalid username or password."} method check_password (line 70) | def check_password(%ResourceOwner{extra_claims: extra_claims}, passwor... method authorized_scopes (line 87) | def authorized_scopes(%ResourceOwner{sub: "unknown"}), do: [] method authorized_scopes (line 88) | def authorized_scopes(%ResourceOwner{sub: "did:" <> _key}), do: [] method authorized_scopes (line 94) | def authorized_scopes(_), do: [] method claims (line 97) | def claims(%ResourceOwner{sub: sub}, scope) do method metadata (line 115) | def metadata(user, scope) do method merge_claims (line 123) | defp merge_claims( method merge_claims (line 138) | defp merge_claims("profile", acc, _user, sub) do method merge_claims (line 155) | defp merge_claims(_, acc, _user, _sub), do: acc method metadata_scope_filter (line 157) | defp metadata_scope_filter(metadata, request_scope, %Backend{metadata_... FILE: apps/boruta_identity/lib/boruta_identity/totp.ex class BorutaIdentity.TotpError (line 1) | defmodule BorutaIdentity.TotpError method message (line 18) | def message(exception) do class BorutaIdentity.TotpRegistrationApplication (line 23) | defmodule BorutaIdentity.TotpRegistrationApplication class BorutaIdentity.TotpAuthenticationApplication (line 43) | defmodule BorutaIdentity.TotpAuthenticationApplication class BorutaIdentity.Totp (line 67) | defmodule BorutaIdentity.Totp method new_totp_registration_template (line 251) | defp new_totp_registration_template(identity_provider) do method new_totp_authentication_template (line 258) | defp new_totp_authentication_template(identity_provider) do class Hotp (line 70) | defmodule Hotp method generate_hotp (line 83) | def generate_hotp(secret, counter) do method truncate_hash (line 96) | defp truncate_hash(hmac_value) do method format_hotp (line 105) | defp format_hotp(hotp) do class Admin (line 110) | defmodule Admin method generate_totp (line 121) | def generate_totp(secret) do method check_totp (line 137) | def check_totp(_totp, _secret), do: {:error, "Given TOTP is invalid."} method generate_secret (line 139) | def generate_secret do method url (line 143) | def url(username, secret) do method number_of_time_steps (line 147) | defp number_of_time_steps do FILE: apps/boruta_identity/lib/boruta_identity/webauthn.ex class BorutaIdentity.WebauthnError (line 1) | defmodule BorutaIdentity.WebauthnError method message (line 17) | def message(exception) do class BorutaIdentity.WebauthnRegistrationApplication (line 22) | defmodule BorutaIdentity.WebauthnRegistrationApplication class BorutaIdentity.WebauthnAuthenticationApplication (line 42) | defmodule BorutaIdentity.WebauthnAuthenticationApplication class BorutaIdentity.Webauthn (line 67) | defmodule BorutaIdentity.Webauthn method options (line 119) | def options(user, true) do method options (line 139) | def options(user, false) do method new_webauthn_registration_template (line 319) | defp new_webauthn_registration_template(identity_provider) do method new_webauthn_authentication_template (line 326) | defp new_webauthn_authentication_template(identity_provider) do class Options (line 70) | defmodule Options FILE: apps/boruta_identity/lib/boruta_identity_web.ex class BorutaIdentityWeb (line 1) | defmodule BorutaIdentityWeb method controller (line 20) | def controller do method view (line 30) | def view do method router (line 45) | def router do method channel (line 54) | def channel do method view_helpers (line 61) | defp view_helpers do FILE: apps/boruta_identity/lib/boruta_identity_web/concerns/authenticable.ex class BorutaIdentityWeb.Authenticable (line 1) | defmodule BorutaIdentityWeb.Authenticable method remember_me_cookie (line 19) | def remember_me_cookie, do: @remember_me_cookie method store_user_session (line 23) | def store_user_session(%Plug.Conn{body_params: params} = conn, session... method get_user_session (line 34) | def get_user_session(conn) do method remove_user_session (line 39) | def remove_user_session(conn) do method maybe_write_remember_me_cookie (line 50) | defp maybe_write_remember_me_cookie(conn, _token, _params) do method after_sign_in_path (line 55) | def after_sign_in_path(conn), do: user_return_to_from_request(conn) ||... method after_registration_path (line 58) | def after_registration_path(conn), do: user_return_to_from_request(con... method after_sign_out_path (line 61) | def after_sign_out_path(%Plug.Conn{query_params: query_params} = conn) do method request_param (line 66) | def request_param(conn) do method scope_from_request (line 111) | def scope_from_request(%Plug.Conn{query_params: query_params}) do method client_id_from_request (line 125) | def client_id_from_request(%Plug.Conn{query_params: query_params}) do method user_return_to_from_request (line 139) | def user_return_to_from_request(%Plug.Conn{query_params: query_params}... FILE: apps/boruta_identity/lib/boruta_identity_web/controllers/backends_controller.ex class BorutaIdentityWeb.BackendsController (line 1) | defmodule BorutaIdentityWeb.BackendsController method authorize (line 21) | def authorize( method callback (line 49) | def callback(conn, %{"federated_server_name" => federated_server_name}... method user_authenticated (line 63) | def user_authenticated(conn, user, session_token) do method authentication_failure (line 85) | def authentication_failure(%Plug.Conn{} = conn, %SessionError{ method request_from_session (line 114) | defp request_from_session(conn) do FILE: apps/boruta_identity/lib/boruta_identity_web/controllers/choose_session_controller.ex class BorutaIdentityWeb.ChooseSessionController (line 1) | defmodule BorutaIdentityWeb.ChooseSessionController method index (line 12) | def index(conn, _params) do method choose_session_initialized (line 19) | def choose_session_initialized(conn, template) do method choose_session_not_required (line 30) | def choose_session_not_required(conn) do FILE: apps/boruta_identity/lib/boruta_identity_web/controllers/fallback_controller.ex class BorutaIdentityWeb.FallbackController (line 1) | defmodule BorutaIdentityWeb.FallbackController method call (line 11) | def call(conn, {:error, :not_found}) do FILE: apps/boruta_identity/lib/boruta_identity_web/controllers/totp_controller.ex class BorutaIdentityWeb.TotpController (line 1) | defmodule BorutaIdentityWeb.TotpController method new (line 17) | def new(conn, _params) do method register (line 29) | def register(conn, %{"totp" => totp_params}) do method totp_registration_initialized (line 42) | def totp_registration_initialized(conn, totp_secret, template) do method totp_registration_error (line 58) | def totp_registration_error(conn, %TotpError{ method totp_registration_error (line 78) | def totp_registration_error(conn, %TotpError{ method totp_registration_success (line 100) | def totp_registration_success(%Plug.Conn{} = conn, _user) do FILE: apps/boruta_identity/lib/boruta_identity_web/controllers/user_confirmation_controller.ex class BorutaIdentityWeb.UserConfirmationController (line 1) | defmodule BorutaIdentityWeb.UserConfirmationController method new (line 12) | def new(conn, _params) do method create (line 18) | def create(%Plug.Conn{query_params: query_params} = conn, %{"user" => ... method confirm (line 37) | def confirm(conn, %{"token" => token}) do method user_confirmed (line 44) | def user_confirmed(%Plug.Conn{query_params: query_params} = conn, user... method user_confirmation_failure (line 64) | def user_confirmation_failure(%Plug.Conn{query_params: query_params} =... method confirmation_instructions_delivered (line 91) | def confirmation_instructions_delivered(%Plug.Conn{query_params: query... method confirmation_instructions_initialized (line 102) | def confirmation_instructions_initialized(conn, template) do FILE: apps/boruta_identity/lib/boruta_identity_web/controllers/user_consent_controller.ex class BorutaIdentityWeb.UserConsentController (line 1) | defmodule BorutaIdentityWeb.UserConsentController method index (line 15) | def index(conn, _params) do method consent (line 23) | def consent(conn, params) do method consent_initialized (line 36) | def consent_initialized(conn, client, scopes, template) do method consent_not_required (line 50) | def consent_not_required(conn) do method consented (line 55) | def consented(conn, scopes) do method consent_failed (line 74) | def consent_failed(%Plug.Conn{query_params: query_params} = conn, chan... FILE: apps/boruta_identity/lib/boruta_identity_web/controllers/user_registration_controller.ex class BorutaIdentityWeb.UserRegistrationController (line 1) | defmodule BorutaIdentityWeb.UserRegistrationController method new (line 13) | def new(conn, _params) do method create (line 19) | def create(%Plug.Conn{query_params: query_params} = conn, %{"user" => ... method registration_initialized (line 39) | def registration_initialized(%Plug.Conn{} = conn, template) do method registration_failure (line 47) | def registration_failure(%Plug.Conn{} = conn, %RegistrationError{ method registration_failure (line 74) | def registration_failure(%Plug.Conn{} = conn, %RegistrationError{ method registration_failure (line 100) | def registration_failure(%Plug.Conn{} = conn, %RegistrationError{ method user_registered (line 132) | def user_registered(conn, user, session_token) do FILE: apps/boruta_identity/lib/boruta_identity_web/controllers/user_reset_password_controller.ex class BorutaIdentityWeb.UserResetPasswordController (line 1) | defmodule BorutaIdentityWeb.UserResetPasswordController method new (line 12) | def new(conn, _params) do method create (line 18) | def create(%Plug.Conn{query_params: query_params} = conn, %{"user" => ... method edit (line 35) | def edit(conn, params) do method update (line 41) | def update(conn, params) do method password_instructions_initialized (line 56) | def password_instructions_initialized( method reset_password_instructions_delivered (line 70) | def reset_password_instructions_delivered(%Plug.Conn{query_params: que... method password_reset_initialized (line 82) | def password_reset_initialized( method password_reseted (line 97) | def password_reseted(%Plug.Conn{query_params: query_params} = conn, _u... method password_reset_failure (line 108) | def password_reset_failure(%Plug.Conn{} = conn, %ResetPasswordError{ method password_reset_failure (line 126) | def password_reset_failure(conn, %ResetPasswordError{ FILE: apps/boruta_identity/lib/boruta_identity_web/controllers/user_session_controller.ex class BorutaIdentityWeb.UserSessionController (line 1) | defmodule BorutaIdentityWeb.UserSessionController method new (line 26) | def new(conn, _params) do method create (line 32) | def create(conn, %{"user" => user_params}) do method delete (line 43) | def delete(conn, _params) do method initialize_totp (line 50) | def initialize_totp(conn, _params) do method authenticate_totp (line 58) | def authenticate_totp(conn, %{"totp" => totp_params}) do method initialize_webauthn (line 69) | def initialize_webauthn(conn, _params) do method authenticate_webauthn (line 78) | def authenticate_webauthn(conn, params) do method webauthn_registration_missing (line 94) | def webauthn_registration_missing(%Plug.Conn{query_params: query_param... method session_initialized (line 103) | def session_initialized(%Plug.Conn{} = conn, template) do method user_authenticated (line 114) | def user_authenticated(conn, user, session_token) do method authentication_failure (line 133) | def authentication_failure(%Plug.Conn{} = conn, %SessionError{ method session_deleted (line 161) | def session_deleted(conn) do method totp_not_required (line 182) | def totp_not_required(conn) do method totp_registration_missing (line 189) | def totp_registration_missing(%Plug.Conn{query_params: query_params} =... method totp_initialized (line 198) | def totp_initialized(%Plug.Conn{} = conn, template) do method webauthn_initialized (line 213) | def webauthn_initialized(%Plug.Conn{} = conn, webauthn_options, templa... method totp_authenticated (line 229) | def totp_authenticated(%Plug.Conn{} = conn, _user) do method totp_authentication_failure (line 241) | def totp_authentication_failure(%Plug.Conn{} = conn, %TotpError{ method webauthn_not_required (line 261) | def webauthn_not_required(conn) do method webauthn_authenticated (line 268) | def webauthn_authenticated(%Plug.Conn{} = conn, _user) do method webauthn_authentication_failure (line 280) | def webauthn_authentication_failure(%Plug.Conn{} = conn, %WebauthnError{ FILE: apps/boruta_identity/lib/boruta_identity_web/controllers/user_settings_controller.ex class BorutaIdentityWeb.UserSettingsController (line 1) | defmodule BorutaIdentityWeb.UserSettingsController method edit (line 18) | def edit(conn, _params) do method update (line 25) | def update(%Plug.Conn{query_params: query_params} = conn, %{"user" => ... method destroy (line 45) | def destroy(conn, _params) do method edit_user_initialized (line 53) | def edit_user_initialized(conn, user, template) do method user_updated (line 61) | def user_updated(%Plug.Conn{query_params: query_params} = conn, user) do method user_update_failure (line 81) | def user_update_failure(%Plug.Conn{} = conn, %SettingsError{ method user_update_failure (line 110) | def user_update_failure(%Plug.Conn{} = conn, %SettingsError{ method user_destroyed (line 140) | def user_destroyed(conn, user) do method session_deleted (line 161) | def session_deleted(conn) do method user_destroy_failure (line 182) | def user_destroy_failure(%Plug.Conn{} = conn, %SettingsError{ FILE: apps/boruta_identity/lib/boruta_identity_web/controllers/wallet_controller.ex class BorutaIdentityWeb.WalletController (line 1) | defmodule BorutaIdentityWeb.WalletController method index (line 4) | def index(conn, _params) do FILE: apps/boruta_identity/lib/boruta_identity_web/controllers/webauthn_controller.ex class BorutaIdentityWeb.WebauthnController (line 1) | defmodule BorutaIdentityWeb.WebauthnController method new (line 17) | def new(conn, _params) do method register (line 29) | def register(conn, params) do method webauthn_registration_initialized (line 44) | def webauthn_registration_initialized(conn, webauthn_options, template... method webauthn_registration_error (line 60) | def webauthn_registration_error(conn, %WebauthnError{ method webauthn_registration_success (line 81) | def webauthn_registration_success(%Plug.Conn{} = conn, _user) do FILE: apps/boruta_identity/lib/boruta_identity_web/endpoint.ex class BorutaIdentityWeb.Endpoint (line 1) | defmodule BorutaIdentityWeb.Endpoint method log_level (line 36) | def log_level(%{path_info: ["healthcheck" | _]}), do: false method log_level (line 37) | def log_level(_), do: :info FILE: apps/boruta_identity/lib/boruta_identity_web/gettext.ex class BorutaIdentityWeb.Gettext (line 1) | defmodule BorutaIdentityWeb.Gettext FILE: apps/boruta_identity/lib/boruta_identity_web/plugs/sessions.ex class BorutaIdentityWeb.Sessions (line 1) | defmodule BorutaIdentityWeb.Sessions method fetch_current_user (line 15) | def fetch_current_user(conn, _opts) do method ensure_user_token (line 21) | defp ensure_user_token(conn) do method redirect_if_user_is_authenticated (line 39) | def redirect_if_user_is_authenticated(conn, _opts) do method require_authenticated_user (line 56) | def require_authenticated_user(conn, _opts) do FILE: apps/boruta_identity/lib/boruta_identity_web/router.ex class BorutaIdentityWeb.Router (line 1) | defmodule BorutaIdentityWeb.Router method handle_errors (line 88) | def handle_errors(conn, %{reason: %Plug.CSRFProtection.InvalidCSRFToke... method handle_errors (line 105) | def handle_errors(conn, %{reason: reason}) do method render_error (line 113) | defp render_error(conn, reason) do FILE: apps/boruta_identity/lib/boruta_identity_web/telemetry.ex class BorutaIdentityWeb.Telemetry (line 1) | defmodule BorutaIdentityWeb.Telemetry method start_link (line 7) | def start_link(arg) do method init (line 12) | def init(_arg) do method metrics (line 24) | def metrics do method periodic_measurements (line 50) | defp periodic_measurements do FILE: apps/boruta_identity/lib/boruta_identity_web/token.ex class BorutaIdentityWeb.Token (line 1) | defmodule BorutaIdentityWeb.Token method application_signer (line 6) | def application_signer do FILE: apps/boruta_identity/lib/boruta_identity_web/views/error_helpers.ex class BorutaIdentityWeb.ErrorHelpers (line 1) | defmodule BorutaIdentityWeb.ErrorHelpers method error_messages (line 8) | def error_messages(nil), do: [] method error_messages (line 10) | def error_messages(%Ecto.Changeset{} = changeset) do method error_message (line 19) | def error_message({field, messages}) do method errors_tag (line 31) | def errors_tag(errors) do method error_tag (line 38) | def error_tag({field, {_msg, _opts} = error}) do method error_tag (line 52) | def error_tag({field, ["" <> _first | _rest] = messages}) do method error_tag (line 83) | def error_tag(form, field) do method translate_error (line 92) | def translate_error({msg, opts}) do FILE: apps/boruta_identity/lib/boruta_identity_web/views/error_view.ex class BorutaIdentityWeb.ErrorView (line 1) | defmodule BorutaIdentityWeb.ErrorView FILE: apps/boruta_identity/lib/boruta_identity_web/views/template_view.ex class BorutaIdentityWeb.TemplateView (line 1) | defmodule BorutaIdentityWeb.TemplateView method render (line 7) | def render("template.html", %{ method context (line 32) | def context(context, %{conn: conn, identity_provider: identity_provide... method context (line 60) | def context(context, %{current_user: current_user, totp_secret: totp_s... method context (line 75) | def context(context, %{client: client} = assigns) do method context (line 83) | def context(context, %{resource_owner: resource_owner} = assigns) do method context (line 91) | def context(context, %{credential_offer: credential_offer} = assigns) do method context (line 106) | def context(context, %{presentation_deeplink: presentation_deeplink} =... method context (line 120) | def context(context, %{webauthn_options: webauthn_options} = assigns) do method context (line 128) | def context(context, %{code: code} = assigns) do method context (line 135) | def context(context, %{current_user: current_user} = assigns) do method context (line 153) | def context(context, %{scopes: scopes} = assigns) do method context (line 161) | def context(context, %{}), do: context method text_from_credential_offer (line 163) | defp text_from_credential_offer(credential_offer) do method paths (line 172) | defp paths(conn, assigns) do method errors (line 229) | defp errors(%{errors: errors}) do method errors (line 235) | defp errors(%{changeset: changeset}) do method errors (line 244) | defp errors(_assigns), do: %{errors: [], valid?: true} method messages (line 246) | defp messages(conn) do method identity_provider_configurations (line 256) | defp identity_provider_configurations(identity_provider) do FILE: apps/boruta_identity/lib/boruta_identity_web/views/wallet_view.ex class BorutaIdentityWeb.WalletView (line 1) | defmodule BorutaIdentityWeb.WalletView FILE: apps/boruta_identity/mix.exs class BorutaIdentity.MixProject (line 1) | defmodule BorutaIdentity.MixProject method project (line 4) | def project do method application (line 24) | def application do method elixirc_paths (line 32) | defp elixirc_paths(:test), do: ["lib", "test/support"] method elixirc_paths (line 33) | defp elixirc_paths(_), do: ["lib"] method deps (line 38) | defp deps do method aliases (line 84) | defp aliases do FILE: apps/boruta_identity/priv/repo/migrations/20210127190501_create_users_auth_tables.exs class BorutaIdentity.Repo.Migrations.CreateUsersAuthTables (line 1) | defmodule BorutaIdentity.Repo.Migrations.CreateUsersAuthTables method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20210128080043_create_users_authorized_scopes.exs class BorutaIdentity.Repo.Migrations.CreateUsersAuthorizedScopes (line 1) | defmodule BorutaIdentity.Repo.Migrations.CreateUsersAuthorizedScopes method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20210208110903_user_authorized_scopes_unique_index.exs class BorutaIdentity.Repo.Migrations.UserAuthorizedScopesUniqueIndex (line 1) | defmodule BorutaIdentity.Repo.Migrations.UserAuthorizedScopesUniqueIndex method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20210302213536_create_consents.exs class BorutaIdentity.Repo.Migrations.CreateConsents (line 1) | defmodule BorutaIdentity.Repo.Migrations.CreateConsents method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20210806194842_add_last_login_at_to_users.exs class BorutaIdentity.Repo.Migrations.AddLastLoginAtToUsers (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddLastLoginAtToUsers method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20211002132445_modify_users_confirmed_at.exs class BorutaIdentity.Repo.Migrations.ModifyUsersConfirmedAt (line 1) | defmodule BorutaIdentity.Repo.Migrations.ModifyUsersConfirmedAt method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20211129225646_create_relying_parties.exs class BorutaIdentity.Repo.Migrations.CreateRelyingParties (line 1) | defmodule BorutaIdentity.Repo.Migrations.CreateRelyingParties method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20211130230927_create_clients_relying_parties.exs class BorutaIdentity.Repo.Migrations.CreateClientsRelyingParties (line 1) | defmodule BorutaIdentity.Repo.Migrations.CreateClientsRelyingParties method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20220117220007_add_registrable_to_relying_parties.exs class BorutaIdentity.Repo.Migrations.AddRegistrableToRelyingParties (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddRegistrableToRelyingParties method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20220118122834_add_unique_name_to_relying_parties.exs class BorutaIdentity.Repo.Migrations.AddUniqueNameToRelyingParties (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddUniqueNameToRelyingParties method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20220120214356_create_relying_party_templates.exs class BorutaIdentity.Repo.Migrations.CreateRelyingPartyTemplates (line 1) | defmodule BorutaIdentity.Repo.Migrations.CreateRelyingPartyTemplates method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20220131133951_add_confirmable_to_relying_parties.exs class BorutaIdentity.Repo.Migrations.AddConfirmableToRelyingParties (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddConfirmableToRelyingParties method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20220218144931_add_consentable_to_relying_parties.exs class BorutaIdentity.Repo.Migrations.AddConsentableToRelyingParties (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddConsentableToRelyingParties method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20220221123627_add_choose_session_to_relying_parties.exs class BorutaIdentity.Repo.Migrations.AddChooseSessionToRelyingParties (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddChooseSessionToRelyingParties method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20220520212652_add_user_editable_to_relying_parties.exs class BorutaIdentity.Repo.Migrations.AddUserEditableToRelyingParties (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddUserEditableToRelyingParties method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20220528155902_create_internal_users.exs class BorutaIdentity.Repo.Migrations.CreateInternalUsers (line 1) | defmodule BorutaIdentity.Repo.Migrations.CreateInternalUsers method up (line 4) | def up do method down (line 68) | def down do FILE: apps/boruta_identity/priv/repo/migrations/20220607201657_add_user_authorized_scopes_scope_id.exs class BorutaIdentity.Repo.Migrations.AddUserAuthorizedScopesScopeId (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddUserAuthorizedScopesScopeId method up (line 7) | def up do method down (line 56) | def down do FILE: apps/boruta_identity/priv/repo/migrations/20220617195827_rename_relying_parties.exs class BorutaIdentity.Repo.Migrations.RenameRelyingParties (line 1) | defmodule BorutaIdentity.Repo.Migrations.RenameRelyingParties method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20220628073937_create_error_templates.exs class BorutaAuth.Repo.Migrations.CreateErrorTemplates (line 1) | defmodule BorutaAuth.Repo.Migrations.CreateErrorTemplates method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20220812123254_create_backends.exs class BorutaIdentity.Repo.Migrations.CreateBackends (line 1) | defmodule BorutaIdentity.Repo.Migrations.CreateBackends method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20220815073225_add_backend_id_to_identity_providers.exs class BorutaIdentity.Repo.Migrations.AddBackendIdToIdentityProviders (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddBackendIdToIdentityProviders method up (line 4) | def up do method down (line 24) | def down do FILE: apps/boruta_identity/priv/repo/migrations/20220815091033_remove_type_from_identity_providers.exs class BorutaIdentity.Repo.Migrations.RemoveTypeFromIdentityProviders (line 1) | defmodule BorutaIdentity.Repo.Migrations.RemoveTypeFromIdentityProviders method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20220815115719_add_default_to_backends.exs class BorutaIdentity.Repo.Migrations.AddDefaultToBackends (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddDefaultToBackends method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20220816074610_add_password_hashing_opts_to_backends.exs class BorutaIdentity.Repo.Migrations.AddPasswordHashingOptsToBackends (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddPasswordHashingOptsToBackends method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20220817134821_change_users_provider_to_backend_id.exs class BorutaIdentity.Repo.Migrations.ChangeUsersProviderToBackendId (line 1) | defmodule BorutaIdentity.Repo.Migrations.ChangeUsersProviderToBackendId method up (line 4) | def up do method down (line 27) | def down do FILE: apps/boruta_identity/priv/repo/migrations/20220817150643_add_backend_id_to_internal_users.exs class BorutaIdentity.Repo.Migrations.AddBackendIdToInternalUsers (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddBackendIdToInternalUsers method up (line 4) | def up do method down (line 26) | def down do FILE: apps/boruta_identity/priv/repo/migrations/20220826055043_add_mail_configuration_to_backends.exs class BorutaIdentity.Repo.Migrations.AddMailConfigurationToBackends (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddMailConfigurationToBackends method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20220904073628_create_pg_trgm_extension.exs class BorutaIdentity.Repo.Migrations.CreatePgTrgmExtension (line 1) | defmodule BorutaIdentity.Repo.Migrations.CreatePgTrgmExtension method up (line 4) | def up do method down (line 8) | def down do FILE: apps/boruta_identity/priv/repo/migrations/20220904183116_create_trgm_index.exs class BorutaIdentity.Repo.Migrations.CreateTrgmIndex (line 1) | defmodule BorutaIdentity.Repo.Migrations.CreateTrgmIndex method up (line 4) | def up do method down (line 8) | def down do FILE: apps/boruta_identity/priv/repo/migrations/20220911195248_add_ldap_configuration_to_backends.exs class BorutaIdentity.Repo.Migrations.AddLdapConfigurationToBackends (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddLdapConfigurationToBackends method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20220915191039_add_ldap_ser_rdn_attribute_to_backends.exs class BorutaIdentity.Repo.Migrations.AddLdapSerRdnAttributeToBackends (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddLdapSerRdnAttributeToBackends method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20221008202236_add_ldap_master_credentials_to_backends.exs class BorutaIdentity.Repo.Migrations.AddLdapMasterCredentialsToBackends (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddLdapMasterCredentialsToBackends method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20221026092004_create_email_templates.exs class BorutaIdentity.Repo.Migrations.CreateEmailTemplates (line 1) | defmodule BorutaIdentity.Repo.Migrations.CreateEmailTemplates method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20221026211130_add_smtp_ssl_to_backends.exs class BorutaIdentity.Repo.Migrations.AddSmtpSslToBackends (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddSmtpSslToBackends method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20221028083326_add_revoked_at_to_users_tokens.exs class BorutaIdentity.Repo.Migrations.AddRevokedAtToUsersTokens (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddRevokedAtToUsersTokens method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20221108140432_add_metadata_fields_to_backends.exs class BorutaIdentity.Repo.Migrations.AddMetadataFieldsToBackends (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddMetadataFieldsToBackends method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20221108144651_add_metadata_to_users.exs class BorutaIdentity.Repo.Migrations.AddMetadataToUsers (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddMetadataToUsers method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20230303151220_add_group_to_users.exs class BorutaIdentity.Repo.Migrations.AddGroupToUsers (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddGroupToUsers method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20230502111802_add_identity_federation_to_backends.exs class BorutaIdentity.Repo.Migrations.AddIdentityFederationToBackends (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddIdentityFederationToBackends method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20230605073651_create_roles.exs class BorutaIdentity.Repo.Migrations.CreateRoles (line 1) | defmodule BorutaIdentity.Repo.Migrations.CreateRoles method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20230605074117_create_roles_scopes.exs class BorutaIdentity.Repo.Migrations.CreateRolesScopes (line 1) | defmodule BorutaIdentity.Repo.Migrations.CreateRolesScopes method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20230615082520_create_roles_users.exs class BorutaIdentity.Repo.Migrations.CreateRolesUsers (line 1) | defmodule BorutaIdentity.Repo.Migrations.CreateRolesUsers method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20230626064411_create_backends_roles.exs class BorutaIdentity.Repo.Migrations.CreateBackendsRoles (line 1) | defmodule BorutaIdentity.Repo.Migrations.CreateBackendsRoles method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20230805134343_add_totpable_to_identity_providers.exs class BorutaIdentity.Repo.Migrations.AddTotpableToIdentityProviders (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddTotpableToIdentityProviders method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20230805160200_add_totp_to_users.exs class BorutaIdentity.Repo.Migrations.AddTotpToUsers (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddTotpToUsers method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20230810130509_add_enforce_totp_to_identity_providers.exs class BorutaIdentity.Repo.Migrations.AddEnforceTotpToIdentityProviders (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddEnforceTotpToIdentityProviders method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20230903150227_create_organizations.exs class BorutaIdentity.Repo.Migrations.CreateOrganizations (line 1) | defmodule BorutaIdentity.Repo.Migrations.CreateOrganizations method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20230908094746_add_label_to_organizations.exs class BorutaIdentity.Repo.Migrations.AddLabelToOrganizations (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddLabelToOrganizations method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20230908113944_create_organizations_users.exs class BorutaIdentity.Repo.Migrations.CreateOrganizationsUsers (line 1) | defmodule BorutaIdentity.Repo.Migrations.CreateOrganizationsUsers method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20230909103013_add_create_default_organization_to_backends.exs class BorutaIdentity.Repo.Migrations.AddCreateDefaultOrganizationToBackends (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddCreateDefaultOrganizationToB... method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20240109125818_add_verifiable_credentails_to_backends.exs class BorutaIdentity.Repo.Migrations.AddVerifiableCredentailsToBackends (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddVerifiableCredentailsToBackends method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20240110094020_add_federated_metadata_to_users.exs class BorutaIdentity.Repo.Migrations.AddFederatedMetadataToUsers (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddFederatedMetadataToUsers method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20240426110841_organizations_users_reference.exs class BorutaIdentity.Repo.Migrations.OrganizationsUsersReference (line 1) | defmodule BorutaIdentity.Repo.Migrations.OrganizationsUsersReference method up (line 4) | def up do method down (line 14) | def down do FILE: apps/boruta_identity/priv/repo/migrations/20240505104631_organizations_users_reference2.exs class BorutaIdentity.Repo.Migrations.OrganizationsUsersReference2 (line 1) | defmodule BorutaIdentity.Repo.Migrations.OrganizationsUsersReference2 method up (line 4) | def up do method down (line 14) | def down do FILE: apps/boruta_identity/priv/repo/migrations/20240808195715_add_webauthn_challenge_to_users.exs class BorutaIdentity.Repo.Migrations.AddWebauthnChallengeToUsers (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddWebauthnChallengeToUsers method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20240820140733_add_webauthn_public_key_to_users.exs class BorutaIdentity.Repo.Migrations.AddWebauthnPublicKeyToUsers (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddWebauthnPublicKeyToUsers method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20240820233604_add_webauthn_to_identity_providers.exs class BorutaIdentity.Repo.Migrations.AddWebauthnToIdentityProviders (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddWebauthnToIdentityProviders method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20240907103609_add_verifiable_presentations_to_backends.exs class BorutaIdentity.Repo.Migrations.AddVerifiablePresentationsToBackends (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddVerifiablePresentationsToBac... method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20241017153124_add_account_type_to_users.exs class BorutaIdentity.Repo.Migrations.AddAccountTypeToUsers (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddAccountTypeToUsers method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20241130000259_add_check_password_to_identity_providers.exs class BorutaIdentity.Repo.Migrations.AddCheckPasswordToIdentityProviders (line 1) | defmodule BorutaIdentity.Repo.Migrations.AddCheckPasswordToIdentityProvi... method change (line 4) | def change do FILE: apps/boruta_identity/priv/repo/migrations/20250302193825_remove_global_email_unique_constraint.exs class BorutaIdentity.Repo.Migrations.RemoveGlobalEmailUniqueConstraint (line 1) | defmodule BorutaIdentity.Repo.Migrations.RemoveGlobalEmailUniqueConstraint method change (line 4) | def change do FILE: apps/boruta_identity/test/boruta_identity/accounts/deliveries_test.exs class BorutaIdentity.Accounts.DeliveriesTest (line 1) | defmodule BorutaIdentity.Accounts.DeliveriesTest FILE: apps/boruta_identity/test/boruta_identity/accounts_test.exs class BorutaIdentity.AccountsTest (line 1) | defmodule BorutaIdentity.AccountsTest class DummyRegistration (line 23) | defmodule DummyRegistration method registration_initialized (line 27) | def registration_initialized(context, template) do method user_registered (line 32) | def user_registered(context, user, session_token) do method registration_failure (line 37) | def registration_failure(context, error) do class DummySession (line 42) | defmodule DummySession method session_initialized (line 46) | def session_initialized(context, template) do method user_authenticated (line 51) | def user_authenticated(context, user, session_token) do method authentication_failure (line 56) | def authentication_failure(context, error) do method session_deleted (line 61) | def session_deleted(context) do class DummyConfirmation (line 66) | defmodule DummyConfirmation method confirmation_instructions_initialized (line 70) | def confirmation_instructions_initialized(context, template) do method confirmation_instructions_delivered (line 75) | def confirmation_instructions_delivered(context) do method user_confirmed (line 80) | def user_confirmed(context, user) do method user_confirmation_failure (line 85) | def user_confirmation_failure(context, error) do class DummySettings (line 90) | defmodule DummySettings method edit_user_initialized (line 94) | def edit_user_initialized(context, user, template) do method user_updated (line 99) | def user_updated(context, user) do method user_destroy_failure (line 104) | def user_destroy_failure(context, error) do method user_destroyed (line 109) | def user_destroyed(context, user) do method user_update_failure (line 114) | def user_update_failure(context, error) do class DummyResetPasswords (line 119) | defmodule DummyResetPasswords method password_instructions_initialized (line 123) | def password_instructions_initialized(context, template) do method reset_password_instructions_delivered (line 128) | def reset_password_instructions_delivered(context) do method password_reset_initialized (line 133) | def password_reset_initialized(context, token, template) do method password_reseted (line 138) | def password_reseted(context, user) do method password_reset_failure (line 143) | def password_reset_failure(context, error) do FILE: apps/boruta_identity/test/boruta_identity/admin_test.exs class BorutaIdentity.AdminTest (line 1) | defmodule BorutaIdentity.AdminTest class OrganizationsTest (line 429) | defmodule OrganizationsTest FILE: apps/boruta_identity/test/boruta_identity/configuration_test.exs class BorutaIdentity.ConfigurationTest (line 1) | defmodule BorutaIdentity.ConfigurationTest FILE: apps/boruta_identity/test/boruta_identity/federated_accounts_test.exs class BorutaIdentity.FederatedAccountsTest (line 1) | defmodule BorutaIdentity.FederatedAccountsTest class DummyFederatedSessions (line 9) | defmodule DummyFederatedSessions method user_authenticated (line 13) | def user_authenticated(context, user, session_token) do method authentication_failure (line 18) | def authentication_failure(context, error) do FILE: apps/boruta_identity/test/boruta_identity/identity_providers/backend_test.exs class BorutaIdentity.IdentityProviders.BackendTest (line 1) | defmodule BorutaIdentity.IdentityProviders.BackendTest FILE: apps/boruta_identity/test/boruta_identity/identity_providers/identity_provider_test.exs class BorutaIdentity.IdentityProviders.IdentityProviderTest (line 1) | defmodule BorutaIdentity.IdentityProviders.IdentityProviderTest FILE: apps/boruta_identity/test/boruta_identity/identity_providers_test.exs class BorutaIdentity.IdentityProvidersTest (line 1) | defmodule BorutaIdentity.IdentityProvidersTest FILE: apps/boruta_identity/test/boruta_identity/resource_owners_test.exs class BorutaIdentity.ResourceOwnersTest (line 1) | defmodule BorutaIdentity.ResourceOwnersTest FILE: apps/boruta_identity/test/boruta_identity/totp_test.exs class BorutaIdentity.TotpTest (line 1) | defmodule BorutaIdentity.TotpTest class DummyTotpRegistrationApplication (line 2) | defmodule DummyTotpRegistrationApplication method totp_registration_initialized (line 6) | def totp_registration_initialized(context, totp_secret, template) do method totp_registration_error (line 11) | def totp_registration_error(context, error) do method totp_registration_success (line 16) | def totp_registration_success(context, user) do class DummyTotpAuthenticationApplication (line 21) | defmodule DummyTotpAuthenticationApplication method totp_initialized (line 25) | def totp_initialized(context, template) do method totp_not_required (line 30) | def totp_not_required(context) do method totp_registration_missing (line 35) | def totp_registration_missing(context) do method totp_authenticated (line 40) | def totp_authenticated(context, current_user) do method totp_authentication_failure (line 45) | def totp_authentication_failure(context, error) do class HotpTest (line 50) | defmodule HotpTest class AdminTest (line 73) | defmodule AdminTest FILE: apps/boruta_identity/test/boruta_identity/webauthn_test.exs class BorutaIdentity.WebauthnTest (line 1) | defmodule BorutaIdentity.WebauthnTest FILE: apps/boruta_identity/test/boruta_identity_web/concerns/authenticable_test.exs class BorutaIdentityWeb.AuthenticableTest (line 1) | defmodule BorutaIdentityWeb.AuthenticableTest FILE: apps/boruta_identity/test/boruta_identity_web/controllers/choose_session_controller_test.exs class BorutaIdentityWeb.ChooseSessionControllerTest (line 1) | defmodule BorutaIdentityWeb.ChooseSessionControllerTest FILE: apps/boruta_identity/test/boruta_identity_web/controllers/page_controller_test.exs class BorutaIdentityWeb.PageControllerTest (line 1) | defmodule BorutaIdentityWeb.PageControllerTest FILE: apps/boruta_identity/test/boruta_identity_web/controllers/totp_controller_test.exs class BorutaIdentityWeb.TotpControllerTest (line 1) | defmodule BorutaIdentityWeb.TotpControllerTest FILE: apps/boruta_identity/test/boruta_identity_web/controllers/user_confirmation_controller_test.exs class BorutaIdentityWeb.UserConfirmationControllerTest (line 1) | defmodule BorutaIdentityWeb.UserConfirmationControllerTest FILE: apps/boruta_identity/test/boruta_identity_web/controllers/user_consent_controller_test.exs class BorutaIdentityWeb.UserConsentControllerTest (line 1) | defmodule BorutaIdentityWeb.UserConsentControllerTest FILE: apps/boruta_identity/test/boruta_identity_web/controllers/user_registration_controller_test.exs class BorutaIdentityWeb.UserRegistrationControllerTest (line 1) | defmodule BorutaIdentityWeb.UserRegistrationControllerTest FILE: apps/boruta_identity/test/boruta_identity_web/controllers/user_reset_password_controller_test.exs class BorutaIdentityWeb.UserResetPasswordControllerTest (line 1) | defmodule BorutaIdentityWeb.UserResetPasswordControllerTest FILE: apps/boruta_identity/test/boruta_identity_web/controllers/user_session_controller_test.exs class BorutaIdentityWeb.UserSessionControllerTest (line 1) | defmodule BorutaIdentityWeb.UserSessionControllerTest FILE: apps/boruta_identity/test/boruta_identity_web/controllers/user_settings_controller_test.exs class BorutaIdentityWeb.UserSettingsControllerTest (line 1) | defmodule BorutaIdentityWeb.UserSettingsControllerTest FILE: apps/boruta_identity/test/boruta_identity_web/plugs/sessions_test.exs class BorutaIdentityWeb.SessionsTest (line 1) | defmodule BorutaIdentityWeb.SessionsTest FILE: apps/boruta_identity/test/boruta_identity_web/views/error_view_test.exs class BorutaIdentityWeb.ErrorViewTest (line 1) | defmodule BorutaIdentityWeb.ErrorViewTest FILE: apps/boruta_identity/test/boruta_identity_web/views/layout_view_test.exs class BorutaIdentityWeb.LayoutViewTest (line 1) | defmodule BorutaIdentityWeb.LayoutViewTest FILE: apps/boruta_identity/test/boruta_identity_web/views/page_view_test.exs class BorutaIdentityWeb.PageViewTest (line 1) | defmodule BorutaIdentityWeb.PageViewTest FILE: apps/boruta_identity/test/support/boruta_factory.ex class Boruta.Factory (line 1) | defmodule Boruta.Factory method client_factory (line 8) | def client_factory do method scope_factory (line 21) | def scope_factory do method token_factory (line 28) | def token_factory do FILE: apps/boruta_identity/test/support/boruta_identity_factory.ex class BorutaIdentity.Factory (line 1) | defmodule BorutaIdentity.Factory method user_factory (line 25) | def user_factory do method user_authorized_scope_factory (line 33) | def user_authorized_scope_factory do method user_role_factory (line 37) | def user_role_factory do method reset_password_user_token_factory (line 41) | def reset_password_user_token_factory do method internal_user_factory (line 52) | def internal_user_factory do method consent_factory (line 60) | def consent_factory do method client_identity_provider_factory (line 67) | def client_identity_provider_factory do method identity_provider_factory (line 74) | def identity_provider_factory do method backend_factory (line 81) | def backend_factory do method federated_backend_factory (line 88) | def federated_backend_factory do method ldap_backend_factory (line 104) | def ldap_backend_factory do method smtp_backend_factory (line 116) | def smtp_backend_factory do method template_factory (line 130) | def template_factory do method new_registration_template_factory (line 137) | def new_registration_template_factory do method email_template_factory (line 144) | def email_template_factory do method reset_password_instructions_email_template_factory (line 152) | def reset_password_instructions_email_template_factory do method error_template_factory (line 160) | def error_template_factory do method role_factory (line 167) | def role_factory do method role_scope_factory (line 173) | def role_scope_factory do method organization_factory (line 177) | def organization_factory do FILE: apps/boruta_identity/test/support/conn_case.ex class BorutaIdentityWeb.ConnCase (line 1) | defmodule BorutaIdentityWeb.ConnCase method register_and_log_in (line 59) | def register_and_log_in(%{conn: conn}) do method generate_user_session_token (line 68) | def generate_user_session_token(%User{id: user_id}) do method log_in (line 82) | def log_in(conn, user, params \\ %{}) do method with_a_request (line 91) | def with_a_request(_params) do FILE: apps/boruta_identity/test/support/data_case.ex class BorutaIdentity.DataCase (line 1) | defmodule BorutaIdentity.DataCase method errors_on (line 53) | def errors_on(changeset) do FILE: apps/boruta_identity/test/support/fixtures/accounts_fixtures.ex class BorutaIdentity.AccountsFixtures (line 1) | defmodule BorutaIdentity.AccountsFixtures method unique_user_email (line 16) | def unique_user_email, do: "user#{System.unique_integer()}@example.com" method valid_user_password (line 17) | def valid_user_password, do: @password method user_fixture (line 19) | def user_fixture(attrs \\ %{}, account_type \\ "internal") do method user_scopes_fixture (line 33) | def user_scopes_fixture(user, attrs \\ %{}) do method extract_user_token (line 48) | def extract_user_token(fun) do FILE: apps/boruta_identity/test/support/fixtures/admin_fixtures.ex class BorutaIdentity.AdminFixtures (line 1) | defmodule BorutaIdentity.AdminFixtures method role_fixture (line 7) | def role_fixture(attrs \\ %{}) do FILE: apps/boruta_identity/test/support/fixtures/identity_providers_fixtures.ex class BorutaIdentity.IdentityProvidersFixtures (line 1) | defmodule BorutaIdentity.IdentityProvidersFixtures method backend_fixture (line 10) | def backend_fixture(attrs \\ %{}) do FILE: apps/boruta_web/lib/boruta/status_resolver.ex class Boruta.Did.StatusResolver (line 1) | defmodule Boruta.Did.StatusResolver method resolve (line 4) | def resolve(_status) do FILE: apps/boruta_web/lib/boruta_web.ex class BorutaWeb (line 1) | defmodule BorutaWeb method controller (line 20) | def controller do method view (line 29) | def view do method router (line 47) | def router do method channel (line 55) | def channel do FILE: apps/boruta_web/lib/boruta_web/application.ex class BorutaWeb.Application (line 1) | defmodule BorutaWeb.Application method start (line 8) | def start(_type, _args) do method config_change (line 30) | def config_change(changed, _new, removed) do method setup_database (line 35) | def setup_database do method seed (line 56) | defp seed do FILE: apps/boruta_web/lib/boruta_web/controllers/did_controller.ex class BorutaWeb.DidController (line 1) | defmodule BorutaWeb.DidController method resolve_status (line 6) | def resolve_status(conn, %{"status" => salt}) do FILE: apps/boruta_web/lib/boruta_web/controllers/fallback_controller.ex class BorutaWeb.FallbackController (line 1) | defmodule BorutaWeb.FallbackController method call (line 9) | def call(conn, {:error, %Ecto.Changeset{} = changeset}) do method call (line 16) | def call(conn, {:error, :not_found}) do FILE: apps/boruta_web/lib/boruta_web/controllers/monitoring_controller.ex class BorutaWeb.MonitoringController (line 1) | defmodule BorutaWeb.MonitoringController method healthcheck (line 6) | def healthcheck(conn, _params) do FILE: apps/boruta_web/lib/boruta_web/controllers/oauth/authorize_controller.ex class BorutaWeb.AuthorizeError (line 1) | defmodule BorutaWeb.AuthorizeError class BorutaWeb.Oauth.AuthorizeController (line 6) | defmodule BorutaWeb.Oauth.AuthorizeController method authorize (line 38) | def authorize(%Plug.Conn{} = conn, _params) do method authenticated? (line 70) | def authenticated?(conn, %{"code" => code}) do method public_client? (line 89) | def public_client?( method public_client? (line 95) | def public_client?( method public_client? (line 101) | def public_client?( method public_client? (line 107) | def public_client?(conn), do: {:unchanged, conn} method redirect_if_mfa_required (line 109) | defp redirect_if_mfa_required(conn, current_user) do method ensure_mfa (line 149) | defp ensure_mfa(%Plug.Conn{query_params: query_params} = conn, current... method do_enforce_mfa (line 161) | defp do_enforce_mfa( method do_enforce_mfa (line 170) | defp do_enforce_mfa( method do_enforce_mfa (line 185) | defp do_enforce_mfa( method do_enforce_mfa (line 200) | defp do_enforce_mfa( method do_enforce_mfa (line 215) | defp do_enforce_mfa( method do_enforce_mfa (line 230) | defp do_enforce_mfa(_identity_provider, _user, _totp_authenticated, _w... method check_preauthorized (line 234) | defp check_preauthorized(conn) do method max_age_redirection (line 257) | defp max_age_redirection( method max_age_redirection (line 278) | defp max_age_redirection(conn, _current_user), do: {:unchanged, conn} method prompt_redirection (line 280) | defp prompt_redirection( method prompt_redirection (line 300) | defp prompt_redirection(%Plug.Conn{query_params: %{"prompt" => "login"... method prompt_redirection (line 312) | defp prompt_redirection(conn, _current_user), do: {:unchanged, conn} method preauthorize (line 314) | defp preauthorize(conn, nil), do: {:unchanged, conn} method preauthorize (line 316) | defp preauthorize(conn, current_user) do method do_authorize (line 327) | defp do_authorize(conn, current_user) do method preauthorize_success (line 337) | def preauthorize_success(conn, %AuthorizationSuccess{ method preauthorize_success (line 360) | def preauthorize_success(conn, _authorization) do method preauthorize_error (line 390) | def preauthorize_error(conn, error) do method authorize_success (line 415) | def authorize_success( method authorize_success (line 442) | def authorize_success( method authorize_success (line 470) | def authorize_success( method authorize_success (line 488) | def authorize_success( method authorize_success (line 506) | def authorize_success( method authorize_success (line 534) | def authorize_success( method authorize_success (line 573) | def authorize_success( method authorize_error (line 614) | def authorize_error( method authorize_error (line 621) | def authorize_error( method authorize_error (line 648) | def authorize_error( method emit_authorize_error_event (line 662) | defp emit_authorize_error_event(%Plug.Conn{query_params: query_params}... method login_expired? (line 680) | defp login_expired?(current_user, max_age) do method put_unsigned_request (line 692) | defp put_unsigned_request(%Plug.Conn{query_params: query_params} = con... method resource_owner (line 706) | defp resource_owner(conn, current_user) do FILE: apps/boruta_web/lib/boruta_web/controllers/oauth/introspect_controller.ex class BorutaWeb.Oauth.IntrospectController (line 1) | defmodule BorutaWeb.Oauth.IntrospectController method introspect (line 11) | def introspect(%Plug.Conn{} = conn, _params) do method introspect_success (line 16) | def introspect_success(%Plug.Conn{body_params: body_params} = conn, %I... method introspect_error (line 37) | def introspect_error(%Plug.Conn{body_params: body_params} = conn, %Error{ FILE: apps/boruta_web/lib/boruta_web/controllers/oauth/pushed_authorization_request_controller.ex class BorutaWeb.Oauth.PushedAuthorizationRequestController (line 1) | defmodule BorutaWeb.Oauth.PushedAuthorizationRequestController method pushed_authorization_request (line 10) | def pushed_authorization_request(%Plug.Conn{} = conn, _params) do method request_stored (line 15) | def request_stored(conn, response) do method pushed_authorization_error (line 23) | def pushed_authorization_error(conn, %Error{ FILE: apps/boruta_web/lib/boruta_web/controllers/oauth/revoke_controller.ex class BorutaWeb.Oauth.RevokeController (line 1) | defmodule BorutaWeb.Oauth.RevokeController method revoke (line 10) | def revoke(%Plug.Conn{} = conn, _params) do method revoke_success (line 15) | def revoke_success(%Plug.Conn{body_params: body_params} = conn) do method revoke_error (line 31) | def revoke_error(%Plug.Conn{body_params: body_params} = conn, %Error{ FILE: apps/boruta_web/lib/boruta_web/controllers/oauth/token_controller.ex class BorutaWeb.Oauth.TokenController (line 1) | defmodule BorutaWeb.Oauth.TokenController method token (line 16) | def token(%Plug.Conn{} = conn, _params) do method token_success (line 21) | def token_success(conn, %TokenResponse{} = response) do method token_error (line 45) | def token_error(conn, %Error{status: status, error: error, error_descr... method direct_post (line 63) | def direct_post(conn, %{"code_id" => code_id} = params) do method code_not_found (line 89) | def code_not_found(conn) do method authentication_failure (line 94) | def authentication_failure(conn, %Error{ method authentication_failure (line 106) | def authentication_failure(conn, %Error{} = error) do FILE: apps/boruta_web/lib/boruta_web/controllers/openid/credential_controller.ex class BorutaWeb.Openid.CredentialController (line 1) | defmodule BorutaWeb.Openid.CredentialController method credential (line 13) | def credential(conn, params) do method defered_credential (line 22) | def defered_credential(conn, _params) do method credential_created (line 27) | def credential_created(conn, %CredentialResponse{} = response) do method credential_created (line 35) | def credential_created(conn, %DeferedCredentialResponse{} = response) do method credential_failure (line 42) | def credential_failure(conn, %Error{ FILE: apps/boruta_web/lib/boruta_web/controllers/openid/dynamic_registration_controller.ex class BorutaWeb.Openid.DynamicRegistrationController (line 1) | defmodule BorutaWeb.Openid.DynamicRegistrationController method register_client (line 15) | def register_client(conn, params) do method client_registered (line 27) | def client_registered(conn, %Oauth.Client{id: client_id} = client) do method registration_failure (line 48) | def registration_failure(conn, changeset) do method insert_global_key_pair (line 55) | defp insert_global_key_pair(%Oauth.Client{id: client_id}) do FILE: apps/boruta_web/lib/boruta_web/controllers/openid/jwks_controller.ex class BorutaWeb.Openid.JwksController (line 1) | defmodule BorutaWeb.Openid.JwksController method jwks_index (line 10) | def jwks_index(conn, _params) do method jwk_list (line 15) | def jwk_list(conn, jwk_keys) do FILE: apps/boruta_web/lib/boruta_web/controllers/openid/userinfo_controller.ex class BorutaWeb.Openid.UserinfoController (line 1) | defmodule BorutaWeb.Openid.UserinfoController method userinfo (line 10) | def userinfo(conn, _params) do method userinfo_fetched (line 15) | def userinfo_fetched(conn, response) do method unauthorized (line 23) | def unauthorized(conn, error) do FILE: apps/boruta_web/lib/boruta_web/controllers/openid_controller.ex class BorutaWeb.OpenidController (line 1) | defmodule BorutaWeb.OpenidController method well_known (line 6) | def well_known(conn, _params) do method openid_credential_issuer (line 14) | def openid_credential_issuer(conn, _params) do FILE: apps/boruta_web/lib/boruta_web/endpoint.ex class BorutaWeb.Endpoint (line 1) | defmodule BorutaWeb.Endpoint method put_secret_key_base (line 36) | def put_secret_key_base(conn, _) do method log_level (line 46) | def log_level(%{private: %{BorutaIdentityWeb.Router => {["accounts"], ... method log_level (line 47) | def log_level(%{path_info: ["healthcheck" | _]}), do: false method log_level (line 48) | def log_level(%{path_info: path_info}) do FILE: apps/boruta_web/lib/boruta_web/gettext.ex class BorutaWeb.Gettext (line 1) | defmodule BorutaWeb.Gettext FILE: apps/boruta_web/lib/boruta_web/logger.ex class BorutaWeb.Logger (line 1) | defmodule BorutaWeb.Logger method start (line 6) | def start do method boruta_web_request_handler (line 60) | def boruta_web_request_handler(_, %{duration: duration}, %{conn: conn}... method authorization_authorize_success_handler (line 95) | def authorization_authorize_success_handler( method authorization_authorize_failure_handler (line 129) | def authorization_authorize_failure_handler( method authorization_token_success_handler (line 159) | def authorization_token_success_handler( method authorization_token_failure_handler (line 193) | def authorization_token_failure_handler( method authorization_introspect_success_handler (line 219) | def authorization_introspect_success_handler( method authorization_introspect_failure_handler (line 247) | def authorization_introspect_failure_handler( method authorization_revoke_success_handler (line 275) | def authorization_revoke_success_handler( method authorization_revoke_failure_handler (line 297) | def authorization_revoke_failure_handler( method log_attribute (line 325) | defp log_attribute(_key, nil), do: "" method log_attribute (line 326) | defp log_attribute(key, attribute), do: " #{key}=#{attribute}" method log_level (line 329) | defp log_level(nil, _conn), do: :info method connection_type (line 336) | defp connection_type(:set_chunked), do: "chunked" method connection_type (line 337) | defp connection_type(_), do: "sent" method duration (line 339) | defp duration(duration) do FILE: apps/boruta_web/lib/boruta_web/plugs/rate_limit.ex class BorutaWeb.Plugs.RateLimit (line 1) | defmodule BorutaWeb.Plugs.RateLimit method init (line 83) | def init(options), do: options method call (line 85) | def call(conn, options) do class Counter (line 4) | defmodule Counter method start_link (line 18) | def start_link(_args) do method get (line 22) | def get(ip, time_unit) do method throttling_timeout (line 31) | def throttling_timeout(ip, count, time_unit, penality) do method increment (line 64) | def increment(ip, time_unit) do FILE: apps/boruta_web/lib/boruta_web/presentation_server.ex class BorutaWeb.PresentationServer (line 1) | defmodule BorutaWeb.PresentationServer method start_link (line 6) | def start_link do method init (line 10) | def init(_args) do method start_presentation (line 14) | def start_presentation(code) do method authenticated (line 18) | def authenticated(code, redirect_uri) do method message (line 22) | def message(code, message) do method handle_call (line 26) | def handle_call({:start_presentation, code}, {pid, _}, state) do method handle_cast (line 38) | def handle_cast({:authenticated, code, redirect_uri}, state) do method handle_cast (line 48) | def handle_cast({:message, code, message}, state) do FILE: apps/boruta_web/lib/boruta_web/release.ex class BorutaWeb.Release (line 1) | defmodule BorutaWeb.Release method migrate (line 5) | def migrate do method rollback (line 13) | def rollback(repo, version) do method seed (line 19) | def seed do method setup (line 28) | def setup do method repos (line 33) | defp repos do FILE: apps/boruta_web/lib/boruta_web/repo.ex class BorutaWeb.Repo (line 1) | defmodule BorutaWeb.Repo FILE: apps/boruta_web/lib/boruta_web/router.ex class BorutaWeb.Router (line 1) | defmodule BorutaWeb.Router method handle_errors (line 97) | def handle_errors(conn, error) do FILE: apps/boruta_web/lib/boruta_web/token.ex class BorutaWeb.Token (line 1) | defmodule BorutaWeb.Token method application_signer (line 6) | def application_signer do FILE: apps/boruta_web/lib/boruta_web/views/error_helpers.ex class BorutaWeb.ErrorHelpers (line 1) | defmodule BorutaWeb.ErrorHelpers method error_tag (line 11) | def error_tag(form, field) do method translate_error (line 20) | def translate_error({msg, opts}) do FILE: apps/boruta_web/lib/boruta_web/views/error_view.ex class BorutaWeb.ErrorView (line 1) | defmodule BorutaWeb.ErrorView method template_not_found (line 13) | def template_not_found(template, _assigns) do method render (line 17) | def render("error.json", %{error: error, message: message}) do FILE: apps/boruta_web/lib/boruta_web/views/oauth_view.ex class BorutaWeb.OauthView (line 1) | defmodule BorutaWeb.OauthView method render (line 8) | def render("token.json", %{response: %Boruta.Oauth.TokenResponse{} = r... method render (line 12) | def render("introspect.json", %{response: %Boruta.Oauth.IntrospectResp... method render (line 16) | def render("introspect.json", %{response: %Boruta.Oauth.IntrospectResp... method render (line 20) | def render("introspect.jwt", %{response: %Boruta.Oauth.IntrospectRespo... method render (line 28) | def render("introspect.jwt", %{ method render (line 42) | def render("error.json", %{error: error, error_description: error_desc... method render (line 49) | def render("well_known.json", %{routes: routes, scopes: scopes}) do method render (line 99) | def render("openid_credential_issuer.json", %{routes: routes}) do method render (line 113) | def render("credential.json", %{credential_response: credential_respon... method render (line 123) | def render("defered_credential.json", %{credential_response: credentia... method render (line 131) | def render("pushed_authorization_request.json", %{ FILE: apps/boruta_web/lib/boruta_web/views/openid_view.ex class BorutaWeb.OpenidView (line 1) | defmodule BorutaWeb.OpenidView method render (line 6) | def render("userinfo.json", %{response: response}) do method render (line 10) | def render("jwks.json", %{keys: keys}) do method render (line 16) | def render("jwk.json", %{client: %Boruta.Ecto.Client{id: client_id, pu... method render (line 24) | def render("userinfo.jwt", %{response: response}) do method render (line 28) | def render("show.json", %{client: client}) do method render (line 32) | def render("client.json", %{client: client}) do method render (line 40) | def render("registration_error.json", %{changeset: changeset}) do method errors_full_message (line 47) | defp errors_full_message(changeset) do FILE: apps/boruta_web/lib/mix/tasks/server.ex class Mix.Tasks.Boruta.Server (line 1) | defmodule Mix.Tasks.Boruta.Server method run (line 6) | def run(args) do FILE: apps/boruta_web/mix.exs class BorutaWeb.MixProject (line 1) | defmodule BorutaWeb.MixProject method project (line 4) | def project do method application (line 23) | def application do method elixirc_paths (line 31) | defp elixirc_paths(:test), do: ["lib", "test/support"] method elixirc_paths (line 32) | defp elixirc_paths(_), do: ["lib"] method deps (line 37) | defp deps do method aliases (line 67) | defp aliases do FILE: apps/boruta_web/test/boruta_web/controllers/credential_controller_test.exs class BorutaWeb.CredentialControllerTest (line 1) | defmodule BorutaWeb.CredentialControllerTest method public_key_fixture (line 175) | def public_key_fixture do method private_key_fixture (line 179) | def private_key_fixture do FILE: apps/boruta_web/test/boruta_web/controllers/oauth/authorization_code_test.exs class BorutaWeb.Oauth.AuthorizationCodeTest (line 1) | defmodule BorutaWeb.Oauth.AuthorizationCodeTest FILE: apps/boruta_web/test/boruta_web/controllers/oauth/authorize_controller_test.exs class BorutaWeb.AuthorizeControllerTest (line 1) | defmodule BorutaWeb.AuthorizeControllerTest FILE: apps/boruta_web/test/boruta_web/controllers/oauth/client_credentials_test.exs class BorutaWeb.Oauth.ClientCredentialsTest (line 1) | defmodule BorutaWeb.Oauth.ClientCredentialsTest FILE: apps/boruta_web/test/boruta_web/controllers/oauth/direct_post_test.exs class BorutaWeb.Integration.DirectPostTest (line 1) | defmodule BorutaWeb.Integration.DirectPostTest method public_key_fixture (line 85) | def public_key_fixture do method private_key_fixture (line 89) | def private_key_fixture do FILE: apps/boruta_web/test/boruta_web/controllers/oauth/implicit_test.exs class BorutaWeb.Oauth.ImplicitTest (line 1) | defmodule BorutaWeb.Oauth.ImplicitTest FILE: apps/boruta_web/test/boruta_web/controllers/oauth/introspect_test.exs class BorutaWeb.Oauth.IntrospectTest (line 1) | defmodule BorutaWeb.Oauth.IntrospectTest FILE: apps/boruta_web/test/boruta_web/controllers/oauth/openid_connect_test.exs class BorutaWeb.Integration.OpenidConnectTest (line 1) | defmodule BorutaWeb.Integration.OpenidConnectTest FILE: apps/boruta_web/test/boruta_web/controllers/oauth/password_test.exs class BorutaWeb.Oauth.PasswordTest (line 1) | defmodule BorutaWeb.Oauth.PasswordTest FILE: apps/boruta_web/test/boruta_web/controllers/oauth/revoke_test.exs class BorutaWeb.Oauth.RevokeTest (line 1) | defmodule BorutaWeb.Oauth.RevokeTest FILE: apps/boruta_web/test/boruta_web/controllers/pushed_authorization_request_controller_test.exs class BorutaWeb.Oauth.PushedAuthorizationRequestControllerTest (line 1) | defmodule BorutaWeb.Oauth.PushedAuthorizationRequestControllerTest FILE: apps/boruta_web/test/boruta_web/plugs/rate_limit_test.exs class BorutaWeb.Plugs.RateLimitTest (line 1) | defmodule BorutaWeb.Plugs.RateLimitTest FILE: apps/boruta_web/test/boruta_web/views/error_view_test.exs class BorutaWeb.ErrorViewTest (line 1) | defmodule BorutaWeb.ErrorViewTest FILE: apps/boruta_web/test/boruta_web/views/layout_view_test.exs class BorutaWeb.LayoutViewTest (line 1) | defmodule BorutaWeb.LayoutViewTest FILE: apps/boruta_web/test/boruta_web/views/page_view_test.exs class BorutaWeb.PageViewTest (line 1) | defmodule BorutaWeb.PageViewTest FILE: apps/boruta_web/test/support/boruta_factory.ex class Boruta.Factory (line 1) | defmodule Boruta.Factory method client_factory (line 8) | def client_factory do method scope_factory (line 21) | def scope_factory do method token_factory (line 28) | def token_factory do FILE: apps/boruta_web/test/support/boruta_identity_factory.ex class BorutaIdentity.Factory (line 1) | defmodule BorutaIdentity.Factory method user_factory (line 20) | def user_factory do method internal_user_factory (line 28) | def internal_user_factory do method consent_factory (line 36) | def consent_factory do method client_identity_provider_factory (line 43) | def client_identity_provider_factory do method identity_provider_factory (line 50) | def identity_provider_factory do method backend_factory (line 57) | def backend_factory do method template_factory (line 64) | def template_factory do method new_registration_template_factory (line 71) | def new_registration_template_factory do method error_template_factory (line 78) | def error_template_factory do method role_factory (line 85) | def role_factory do method role_scope_factory (line 91) | def role_scope_factory do FILE: apps/boruta_web/test/support/conn_case.ex class BorutaWeb.ConnCase (line 1) | defmodule BorutaWeb.ConnCase FILE: mix.exs class Boruta.Umbrella.MixProject (line 1) | defmodule Boruta.Umbrella.MixProject method project (line 4) | def project do method deps (line 57) | defp deps do method aliases (line 64) | defp aliases do