You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.6 KiB

  1. <template lang='pug'>
  2. v-card(flat)
  3. v-card(color='grey lighten-5')
  4. .pa-3.pt-4
  5. .headline.primary--text Authentication
  6. .subheading.grey--text Configure the authentication settings of your wiki
  7. v-tabs(color='grey lighten-4', grow, slider-color='primary', show-arrows)
  8. v-tab(key='settings'): v-icon settings
  9. v-tab(key='db') Local
  10. v-tab(key='algolia') Auth0
  11. v-tab(key='elasticsearch') Azure AD
  12. v-tab(key='solr') Discord
  13. v-tab(key='solr') Dropbox
  14. v-tab(key='solr') Facebook
  15. v-tab(key='solr') GitHub
  16. v-tab(key='solr') Google
  17. v-tab(key='solr') LDAP
  18. v-tab(key='solr') Microsoft
  19. v-tab(key='solr') OAuth2 Generic
  20. v-tab(key='solr') Slack
  21. v-tab(key='solr') Twitch
  22. v-tab-item(key='settings')
  23. v-card.pa-3
  24. v-form
  25. v-checkbox(v-for='(engine, n) in engines', v-model='auths', :key='n', :label='engine.text', :value='engine.value', color='primary')
  26. v-divider
  27. v-btn(color='primary')
  28. v-icon(left) chevron_right
  29. | Set Providers
  30. v-btn(color='black', dark)
  31. v-icon(left) layers_clear
  32. | Flush Sessions
  33. </template>
  34. <script>
  35. export default {
  36. data() {
  37. return {
  38. engines: [
  39. { text: 'Local', value: 'local' },
  40. { text: 'Auth0', value: 'auth0' },
  41. { text: 'Algolia', value: 'algolia' },
  42. { text: 'Elasticsearch', value: 'elasticsearch' },
  43. { text: 'Solr', value: 'solr' }
  44. ],
  45. auths: ['local']
  46. }
  47. }
  48. }
  49. </script>
  50. <style lang='scss'>
  51. </style>