We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This task has the following auth types to be completed. This is implemented in a declarative manner.
webscket:Client wsClient = check new("ws://localhost:21324/bearerToken/", config = { auth: { token: "JlbmMiOiJBMTI4Q0JDLUhTMjU2Inikn" } });
websocket:Client wsClient = check new("ws://localhost:21318/basicAuth/", config = { auth: { username: "alice2", password: "1234" } });
websocket:Client wsClient = check new("ws://localhost:21320/jwtSyncAuthService/", config = { auth: { username: "wso2", issuer: "ballerina", audience: ["ballerina", "ballerina.org", "ballerina.io"], keyId: "5a0b754-895f-4279-8843-b745e11a57e9", customClaims: { "scp": "hello" }, expTime: 3600, signatureConfig: { config: { keyAlias: "ballerina", keyPassword: "ballerina", keyStore: { path: "tests/certsAndKeys/ballerinaKeystore.p12", password: "ballerina" } } } } });
websocket:OAuth2DirectTokenConfig config = { refreshUrl: "https://localhost:9401/oauth2/token/refresh", refreshToken: "XlfBs91yquexJqDaKEMzVg==", clientId: "3MVG9YDQS5WtC11paU2WcQjBB3L5w4gz52uriT8ksZ3nUVjKvrfQMrU4uvZohTftxStwNEW4cfStBEGRxRL68", clientSecret: "9205371918321623741", scopes: ["token-scope1", "token-scope2"], clientConfig: { secureSocket: { cert: { path: "tests/certsAndKeys/ballerinaTruststore.p12", password: "ballerina" } } } }; websocket:Client wsClient = check new("ws://localhost:21325/oauthService/", config = {auth: config});
The text was updated successfully, but these errors were encountered:
Bhashinee
Successfully merging a pull request may close this issue.
This task has the following auth types to be completed.
This is implemented in a declarative manner.
The text was updated successfully, but these errors were encountered: