Sha256: a8f00158102f1b00805612d7df88dccb1e485c9d36ea99a99d38ff15177850ac
Contents?: true
Size: 843 Bytes
Versions: 3
Compression:
Stored size: 843 Bytes
Contents
o:$YARD::CodeObjects::MethodObject: @tags[ :@visibility:public:@signature"def verify_token(token): @name:verify_token:@namespaceu:YARD::StubProxy$Grape::Middleware::Auth::OAuth2:@source"Gdef verify_token(token) if token = token_class.verify(token) if token.expired? error_out(401, 'expired_token') else if token.permission_for?(env) env['api.token'] = token else error_out(403, 'insufficient_scope') end end else error_out(401, 'invalid_token') end end: @dynamicT:@source_type: ruby:@docstringIC:YARD::Docstring"