Redesign login page. Add OAuth2 support.
This commit is contained in:
@@ -1 +0,0 @@
|
||||
const thingsBoardApiEndpoint = 'http://localhost:8080';
|
||||
@@ -0,0 +1,4 @@
|
||||
abstract class ThingsboardAppConstants {
|
||||
static final thingsBoardApiEndpoint = 'http://localhost:8080';
|
||||
static final thingsboardOAuth2CallbackUrlScheme = 'org.thingsboard.app.auth';
|
||||
}
|
||||
|
||||
@@ -5,4 +5,11 @@ abstract class ThingsboardImage {
|
||||
static final thingsboardCenter = 'assets/images/thingsboard_center.svg';
|
||||
static final dashboardPlaceholder = 'assets/images/dashboard-placeholder.png';
|
||||
static final deviceProfilePlaceholder = 'assets/images/device-profile-placeholder.png';
|
||||
|
||||
static final oauth2Logos = <String,String>{
|
||||
'google-logo': 'assets/images/google-logo.svg',
|
||||
'github-logo': 'assets/images/github-logo.svg',
|
||||
'facebook-logo': 'assets/images/facebook-logo.svg'
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user