Skip to content

class ConsentContextResult

cangjie
public class ConsentContextResult

功能:表示同意页面上下文结果。

成员概览

成员功能
init(Client, ResourceCollection)创建同意上下文结果。
func toJson()将同意上下文转换为 JSON 值。

init(Client, ResourceCollection)

cangjie
public ConsentContextResult(public let client: Client, public let resources: ResourceCollection)

功能:创建同意上下文结果。

参数:

func toJson()

cangjie
public func toJson(): JsonValue

功能:将同意上下文转换为 JSON 值。

返回值:

  • JsonValue - 返回同意上下文 JSON 对象。