-
Notifications
You must be signed in to change notification settings - Fork 9
Database Table Structure
PowerAuth Web Flow documentation has been moved to: https://developers.wultra.com/docs/develop/powerauth-webflow/Database-Table-Structure
Please use the new developer portal to access documentation.
Web Flow requires a database to store data. It is tested with MySQL and Oracle, but should be easily adapted to any other SQL database which supports JDBC.
Web Flow can coexist with PowerAuth in the same database schema or it can use a different database schema.
- create_schema.sql - DDL script for creating the database schema
- initial_data.sql - script with initial data
- drop_schema.sql - drop schema script
- create_schema.sql - DDL script for creating the database schema
- initial_data.sql - script with initial data
- drop_schema.sql - drop schema script
-
oauth_client_details - the table stores details about OAuth2 client applications. Every Web Flow client application should have a record in this table. See JdbcClientDetailsService.java.
-
oauth_client_token - the table stores OAuth2 tokens for retrieval by client applications. See JdbcClientTokenServices.java.
-
oauth_access_token - the table stores OAuth2 access tokens. See JdbcTokenStore.java.
-
oauth_refresh_token - the table stores OAuth2 refresh tokens. See JdbcTokenStore.java.
-
oauth_code - the table oauth_code stores data for the OAuth2 authorization code grant. See JdbcAuthorizationCodeServices.java.
-
ns_auth_method - the table stores configuration of authentication methods. Data in this table needs to be loaded before Web Flow is started.
-
ns_user_prefs - the table stores user preferences. Status of authentication methods is stored in this table per user (methods can be enabled or disabled).
-
ns_operation - the table stores details of Web Flow operations. Only the last status is stored in this table, changes of operations are stored in table ns_operation_history.
-
ns_operation_config - the table stores configuration of Web Flow operations including configuration of mobile templates.
-
ns_operation_history - the table stores all changes of operations.
-
ns_step_definition - the table stores definitions of authentication/authorization steps. Data in this table needs to be loaded before Web Flow is started.
- da_sms_authorization - the table stores data for SMS OTP authorization.
- wf_operation_session - the table stores mapping of operations to HTTP sessions.
Overview
Applications
- Web Flow Server
- Next Step Server
- Data Adapter
- Mobile Token
- PowerAuth Server
- PowerAuth Admin
- PowerAuth Push Server
REST APIs
- NextStep Server REST API Reference
- Data Adapter REST API Reference
- Web Flow REST API Reference
- Mobile Push Registration API
- Mobile Token REST API Reference
Deployment
Customizing Web Flow
- Customizing Web Flow Appearance
- Implementing Data Adapter Interface
- Web Flow Configuration
- Configuring Next Step Definitions
- Customizing Operation Form Data
- Mobile Token Configuration
Technical Notes
Development
Releases