B4J Code Snippet [web]JSON Web Token (auth0/java-jwt) - aeric Aug 05, 2022 (16 reactions) You can use this class to generate JSON Web Token (JWT) for use in Web API B4J Server.
This code is using JavaObject from Java JWT github project (https://github.com/auth0/java-jwt) by Auth0.
I only add support for HMAC algorithms. If you want, you can modify this code to support RSA and ECDSA algor Share My Creation [web] Shao - micro blog API server and web client - aeric Nov 11, 2024 (16 reactions) Current version: 1.20
Status: Released
Price: $100
OL677HtqjmI
Shao - ( 少 in Chinese ) means less
is a micro blogging app like twitter, threads or weibo, but less...
About this project
Backend:
B4J Server (Windows or Linux VPS is required for production)
Web API Server v3.10
Return JSON format B4J Code Snippet [B4X] Get JWT Payload (JavaWebToken) - Alexander Stolte Jan 18, 2025 (1 reaction) This function reads the payload of a jwt token and returns a map
Input token:
..W0ZA6c2_qKhbjjvnUKDJPfO-kU-_prk235_YU8fYBxU
Payload from this token:
160926
Public Sub GetJWTPayload(Token As String) As Map
Dim su As StringUtils
Dim parts() As String = Regex.Split("\.", Token)
Dim Result B4A Code Snippet Get the expiration time from firebase JWT token - Erel Feb 14, 2023 (7 reactions) Private Sub GetExpiryTime(JWTToken As String) As Long Dim parts() As String = Regex.Split("\.", JWTToken) Dim b() As Byte = UrlSafeDecodeBase64(parts(1)) Dim s As String = BytesToString(b, 0, b.Length, "utf8") Dim map As Map = s.As(JSON).ToMap Log(map.As(JSON).ToString) If ma B4J Tutorial Pocketbase CRUD REST API & SSE with PostMan and then HttpUtils - Mashiane (first post) Nov 29, 2022 (4 reactions) Nice, user authorization that gives you a JWT token.. 136581 B4J Code Snippet PHP: Get oAuth token for Firebase Messaging without using libs - KMatle Dec 14, 2024 (4 reactions) "." . $base64UrlPayload, $signature, $secret, OPENSSL_ALGO_SHA256); // Encode Signature to Base64Url String $base64UrlSignature = base64UrlEncode($signature); // Create JWT $jwt = $base64UrlHeader . "." . $base64UrlPayload . "." . $base64UrlSignature; //-----Request token, with an http post reque B4A Example B4Xgoodies_from_walt61 Online - AnandGupta (first post) Aug 08, 2022 (4 reactions) B4J
B4J Server
JSON Web Token
You can use this class to generate JSON Web Token (JWT) for use in Web API B4J Server.
https://www.b4x.-web-token-auth0-java-jwt.142125/
B4X
Date/time
AS DatePicker - fast navigate to a Month - Year - Decade - Century
AS DatePicker - fast navigate to a Month - Year B4A Example [B4X] Supabase - Database CRUD - Alexander Stolte (first post) Oct 12, 2023 (1 reaction) const token = await getOAuthToken(jwt); return token.access_token; } async function getOAuthToken(jwt: string) { const response = await axiod.post<{ access_token: string; expires_in: number; token_type: string; }>( "https://oauth2.googleapis.com/token", `grant_type=urn:ie B4A Example [B4X] Supabase - Realtime - PoppaBart (first post) Nov 09, 2023 What have you set the Access token (JWT) expiry time limit to. A search of supabase tokens came up with this.
Supabase tokens are valid for a maximum of one week, or 604,800 seconds1. The default token expiry is 3600 seconds, or one hour B4A Question how to use JWT token authentication in Okhttputils - Spavlyuk (first post) Jun 14, 2023 (1 reaction) Dim Job As HttpJob
Job.Initialize("ApiRequest", Me)
Job.Download(...)
Job.GetRequest.SetHeader("Authorization", "Bearer " & AuthorizationToken) Page: 1 2 3 4 5 6 7 Powered by ColBERT |