Skip to main content

%OAuth2.Error

Class %OAuth2.Error Extends %SerialObject [ System = 4 ]

Represents an error in OAuth 2.0

Properties

Error

Property Error As %String(MAXLEN = 1024);

The error type.

ErrorDescription

Property ErrorDescription As %String(MAXLEN = 2048);

The optional long error description.

ErrorUri

Property ErrorUri As %String(MAXLEN = 1024);

The optional URI for more error detail.

Methods

%OnNew

Method %OnNew(error As %String, desc As %String, uri As %String) As %Status [ Internal, Private ]

AsString

Method AsString() As %String

Return a string representing this object