-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test Custom JWT Authentication to Credentials (#715)
* Add Custom JWT Authentication to Credentials * Test Custom JWT Authentication with custom token
- Loading branch information
1 parent
82db10e
commit 0c99911
Showing
13 changed files
with
371 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,3 +38,6 @@ src/realm-core/**/*.pem | |
# Ignore realm-core doc | ||
src/realm-core/doc | ||
|
||
# Ignore test resources | ||
test/data | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,3 +26,74 @@ We love contributions to Realm! If you'd like to contribute code, documentation, | |
Realm welcomes all contributions! The only requirement we have is that, like many other projects, we need to have a [Contributor License Agreement](https://en.wikipedia.org/wiki/Contributor_License_Agreement) (CLA) in place before we can accept any external code. Our own CLA is a modified version of the Apache Software Foundation’s CLA. | ||
|
||
[Please submit your CLA electronically using our Google form](https://docs.google.com/forms/d/1ga5zIS9qnwwFPmbq-orSPsiBIXQjltKg7ytHd2NmDYo/viewform) so we can accept your submissions. The GitHub username you file there will need to match that of your Pull Requests. If you have any questions or cannot file the CLA electronically, you can email <[email protected]>. | ||
|
||
## Building the source | ||
|
||
### Building Realm Flutter | ||
|
||
* Clone the repo | ||
``` | ||
git clone https://github.com/realm/realm-dart | ||
git submodule update --init --recursive | ||
``` | ||
|
||
#### Build Realm Flutter native binaries | ||
|
||
* Android | ||
```bash | ||
./scripts/build-android.sh all | ||
scripts\build-android.bat all | ||
# Or for Android Emulator only | ||
./scripts/build-android.sh x86 | ||
scripts\build-android.bat x86 | ||
``` | ||
|
||
* iOS | ||
```bash | ||
./scripts/build-ios.sh | ||
# Or for iOS Simulator only | ||
./scripts/build-ios.sh simulator | ||
``` | ||
|
||
* Windows | ||
``` | ||
scripts\build.bat | ||
``` | ||
* MacOS | ||
``` | ||
./scripts/build-macos.sh | ||
``` | ||
|
||
* Linux | ||
``` | ||
./scripts/build-linux.sh | ||
``` | ||
|
||
### Building Realm Dart | ||
|
||
* Windows | ||
``` | ||
scripts\build.bat | ||
``` | ||
* MacOS | ||
``` | ||
./scripts/build-macos.sh | ||
``` | ||
* Linux | ||
``` | ||
./scripts/build-linux.sh | ||
``` | ||
|
||
## Running tests | ||
|
||
See [test/README.md](https://github.com/realm/realm-dart/blob/master/test/README.md) for instructions on running tests. | ||
|
||
## Versioning | ||
|
||
Realm Flutter and Dart SDK packages follow [Semantic Versioning](https://semver.org/). | ||
During the initial development the packages will be versioned according the scheme `0.major.minor+release stage` until the first stable version is reached then packages will be versioned with `major.minor.patch` scheme. | ||
|
||
The first versions will follow `0.1.0+preview`, `0.1.1+preview` etc. | ||
Then next release stages will pick up the next minor version `0.1.2+beta`, `0.1.3+beta`. This will ensure dependencies are updated on `dart pub get` with the new `alpha`, `beta` versions. | ||
If an `alpha` version is released before `beta` and it needs to not be considered for `pub get` then it should be marked as `prerelease` with `-alpha` so `0.1.2-alpha` etc. | ||
Updating the major version with every release stage is also possible - `0.2.0+alpha`, `0.3.0+beta`, `0.3.1+beta`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.