theme.keycloak.v2.account.resources.util.AIACommand.js.map Maven / Gradle / Ivy
{"version":3,"file":"AIACommand.js","names":["AIACommand","constructor","keycloak","action","execute","login"],"sources":["../../src/app/util/AIACommand.ts"],"sourcesContent":["/*\n * Copyright 2019 Red Hat, Inc. and/or its affiliates.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {KeycloakService} from '../keycloak-service/keycloak.service';\n\n/**\n * @author Stan Silvert\n */\nexport class AIACommand {\n\n constructor(private keycloak: KeycloakService, private action: string) {}\n\n public execute(): void {\n this.keycloak.login({\n action: this.action,\n })\n\n }\n}"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAIA;AACA;AACA;AACA,OAAO,MAAMA,UAAU,CAAC;EAEpBC,WAAWA,CAASC,QAAyB,EAAUC,MAAc,EAAE;IAAA,KAAnDD,QAAyB,GAAzBA,QAAyB;IAAA,KAAUC,MAAc,GAAdA,MAAc;EAAG;EAEjEC,OAAOA,CAAA,EAAS;IACnB,IAAI,CAACF,QAAQ,CAACG,KAAK,CAAC;MAChBF,MAAM,EAAE,IAAI,CAACA;IACjB,CAAC,CAAC;EAEN;AACJ"}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy