You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/modules/guides/pages/bloblang/methods.adoc
+84Lines changed: 84 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4183,6 +4183,7 @@ Introduced in version v4.20.0.
4183
4183
==== Parameters
4184
4184
4185
4185
*`signing_secret`* <string> The secret to use for signing the token.
4186
+
*`headers`* <(optional) unknown> Optional object of JWT header fields to include in the token. Keys "alg", "typ", "jku", "jwk", "x5u", "x5c", "x5t","x5t#S256" and "crit" will be ignored if provided.
Hash and sign an object representing JSON Web Token (JWT) claims using ES384.
@@ -4206,6 +4216,7 @@ Introduced in version v4.20.0.
4206
4216
==== Parameters
4207
4217
4208
4218
*`signing_secret`* <string> The secret to use for signing the token.
4219
+
*`headers`* <(optional) unknown> Optional object of JWT header fields to include in the token. Keys "alg", "typ", "jku", "jwk", "x5u", "x5c", "x5t","x5t#S256" and "crit" will be ignored if provided.
Hash and sign an object representing JSON Web Token (JWT) claims using ES512.
@@ -4229,6 +4249,7 @@ Introduced in version v4.20.0.
4229
4249
==== Parameters
4230
4250
4231
4251
*`signing_secret`* <string> The secret to use for signing the token.
4252
+
*`headers`* <(optional) unknown> Optional object of JWT header fields to include in the token. Keys "alg", "typ", "jku", "jwk", "x5u", "x5c", "x5t","x5t#S256" and "crit" will be ignored if provided.
Hash and sign an object representing JSON Web Token (JWT) claims using HS256.
@@ -4252,6 +4282,7 @@ Introduced in version v4.12.0.
4252
4282
==== Parameters
4253
4283
4254
4284
*`signing_secret`* <string> The secret to use for signing the token.
4285
+
*`headers`* <(optional) unknown> Optional object of JWT header fields to include in the token. Keys "alg", "typ", "jku", "jwk", "x5u", "x5c", "x5t","x5t#S256" and "crit" will be ignored if provided.
Hash and sign an object representing JSON Web Token (JWT) claims using HS384.
@@ -4273,6 +4311,7 @@ Introduced in version v4.12.0.
4273
4311
==== Parameters
4274
4312
4275
4313
*`signing_secret`* <string> The secret to use for signing the token.
4314
+
*`headers`* <(optional) unknown> Optional object of JWT header fields to include in the token. Keys "alg", "typ", "jku", "jwk", "x5u", "x5c", "x5t","x5t#S256" and "crit" will be ignored if provided.
Hash and sign an object representing JSON Web Token (JWT) claims using HS512.
@@ -4294,6 +4340,7 @@ Introduced in version v4.12.0.
4294
4340
==== Parameters
4295
4341
4296
4342
*`signing_secret`* <string> The secret to use for signing the token.
4343
+
*`headers`* <(optional) unknown> Optional object of JWT header fields to include in the token. Keys "alg", "typ", "jku", "jwk", "x5u", "x5c", "x5t","x5t#S256" and "crit" will be ignored if provided.
Hash and sign an object representing JSON Web Token (JWT) claims using RS256.
@@ -4315,6 +4369,7 @@ Introduced in version v4.18.0.
4315
4369
==== Parameters
4316
4370
4317
4371
*`signing_secret`* <string> The secret to use for signing the token.
4372
+
*`headers`* <(optional) unknown> Optional object of JWT header fields to include in the token. Keys "alg", "typ", "jku", "jwk", "x5u", "x5c", "x5t","x5t#S256" and "crit" will be ignored if provided.
Hash and sign an object representing JSON Web Token (JWT) claims using RS384.
@@ -4338,6 +4402,7 @@ Introduced in version v4.18.0.
4338
4402
==== Parameters
4339
4403
4340
4404
*`signing_secret`* <string> The secret to use for signing the token.
4405
+
*`headers`* <(optional) unknown> Optional object of JWT header fields to include in the token. Keys "alg", "typ", "jku", "jwk", "x5u", "x5c", "x5t","x5t#S256" and "crit" will be ignored if provided.
Hash and sign an object representing JSON Web Token (JWT) claims using RS512.
@@ -4361,6 +4435,7 @@ Introduced in version v4.18.0.
4361
4435
==== Parameters
4362
4436
4363
4437
*`signing_secret`* <string> The secret to use for signing the token.
4438
+
*`headers`* <(optional) unknown> Optional object of JWT header fields to include in the token. Keys "alg", "typ", "jku", "jwk", "x5u", "x5c", "x5t","x5t#S256" and "crit" will be ignored if provided.
Description(fmt.Sprintf("Hash and sign an object representing JSON Web Token (JWT) claims using %s.", m.method.Alg())).
76
99
Param(bloblang.NewStringParam("signing_secret").Description("The secret to use for signing the token.")).
100
+
Param(bloblang.NewAnyParam("headers").Optional().Description("Optional object of JWT header fields to include in the token. Keys \"alg\", \"typ\", \"jku\", \"jwk\", \"x5u\", \"x5c\", \"x5t\",\"x5t#S256\" and \"crit\" will be ignored if provided.")).
0 commit comments