-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Adds Elements concept page (#55)
- Loading branch information
Showing
8 changed files
with
174 additions
and
140 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
--- | ||
title: Elements | ||
sidebar_label: Elements | ||
--- | ||
|
||
import { SdkCard } from "@site/src/components/sdks/SdkCard"; | ||
import { SDK } from "@site/src/components/types"; | ||
|
||
# Elements | ||
|
||
Basis Theory Elements are simple and secure inputs that empower developers to collect sensitive data | ||
from users or to reveal sensitive data back to users, all without having direct access to the plaintext data. | ||
This last point is key - any application code that interacts with sensitive regulated data can be subject to costly and | ||
time-consuming audits to prove that your application meets various compliance standards (e.g. PCI-DSS, HIPAA, SOC 2, ISO-27001). | ||
Using Elements can completely remove your frontend applications from compliance scope, saving your development | ||
team time and money. | ||
|
||
Think about it as an isolated sandbox within your frontend application that your end users are able to seamlessly | ||
interact with, and which securely communicates with the Basis Theory vault to tokenize or detokenize data. | ||
Sensitive data is not directly exposed to your application code, and only the non-sensitive token identifiers are | ||
exposed to be referenced within your systems. | ||
|
||
Here's how Basis Theory Elements make this possible: | ||
|
||
- Install one of our [Elements SDKs](#elements-sdks) into your web or mobile application | ||
- Build forms using our **Element** input components | ||
- Interact with the Basis Theory API using **Element** references, not plaintext data | ||
- Own your UI/UX by fully customizing how **Elements** are styled | ||
|
||
## Collect Sensitive Data | ||
|
||
Data entered by your end users into an **Element** is tokenized and secured within the Basis Theory vault, without your application | ||
needing to have direct access to this data. | ||
|
||
Our SDKs provide several types of inputs to collect various types of data, such as the [CardElement](/docs/sdks/web/javascript/types#card-element) | ||
for collecting credit card data and [TextElement](/docs/sdks/web/javascript/types#text-element) for collecting arbitrary textual data. | ||
|
||
Elements can be configured to support custom input masking, validation, and transformation rules to satisfy your unique requirements. | ||
|
||
To get started collecting data, check out one of our guides that best suits your use case: | ||
|
||
- [Collect Data from Web](/docs/guides/collect/collect-data-from-web) | ||
- [Collect Data with React](/docs/guides/collect/collect-data-with-react) | ||
- [Collect Data with Android](/docs/guides/collect/collect-data-with-android) | ||
- [Collect Data with iOS](/docs/guides/collect/collect-data-with-ios) | ||
|
||
## Reveal Sensitive Data | ||
|
||
Tokens stored within the Basis Theory Vault can be securely revealed to end users without accessing the plaintext | ||
data directly within your application code. | ||
|
||
Using one of our [SDKs](#elements-sdks), sensitive data can be securely retrieved and applied to one or more Elements within your UI. | ||
The SDK will manage encapsulating the sensitive data so that your application can reference these value without having direct access to it. | ||
|
||
To get started revealing sensitive data to your users, check out our guides: | ||
|
||
- [Reveal Data on Web](/docs/sdks/web/javascript/methods#detokenization) | ||
- [Reveal Data on Android](/docs/sdks/mobile/android/services#gettoken) | ||
- [Reveal Data on iOS](/docs/sdks/mobile/ios/services#proxy) | ||
|
||
## Elements SDKs | ||
|
||
<SdkCard.TwoColumnLayout> | ||
<SdkCard | ||
href="/docs/sdks/web/javascript" | ||
heading="JavaScript Elements SDK" | ||
icon={SDK.JAVASCRIPT} | ||
repository="basis-theory-js" | ||
/> | ||
|
||
<SdkCard | ||
href="/docs/sdks/web/react" | ||
heading="React Elements SDK" | ||
icon={SDK.REACT} | ||
repository="basis-theory-react" | ||
/> | ||
|
||
<SdkCard | ||
href="/docs/sdks/mobile/ios" | ||
heading="iOS Elements SDK" | ||
sources={{ | ||
light: "/img/sdk/logos/apple.svg", | ||
dark: "/img/sdk/logos/apple-dark.svg", | ||
}} | ||
repository="basistheory-ios" | ||
/> | ||
|
||
<SdkCard | ||
href="/docs/sdks/mobile/android" | ||
heading="Android Elements SDK" | ||
icon={SDK.ANDROID} | ||
repository="basistheory-android" | ||
/> | ||
</SdkCard.TwoColumnLayout> |
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
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
c915033
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
developers-basistheory-com – ./
developers-basistheory-com-basis-theory.vercel.app
developers-basistheory-com-git-master-basis-theory.vercel.app
developers.basistheory.com