Skip to content

Return a successful status when using jwtToken with expired credentials. Actually failed. #33

Description

@sdack-cloud
var metadata = CompositeMetadata.fromEntries([      AuthMetadata.jwt(_token)]);
    RSocketConnector.create()
        .dataMimeType("application/cbor")
        .setupPayload(Payload.from(metadata.toUint8Array(), connectParam.writeToBuffer()) )
.connect('ws://$address')
.then((res) {  print('OK') })
.onError((e, stackTrace) {  print('Error')  })

pub.dev rsocket: ^1.0.0

Callback function then
rsocket.availability() = 1.0

@linux-china 大佬快搞一搞吧

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions